update systems, nvtop only on desktop

This commit is contained in:
ringofstorms 2024-04-24 11:09:29 -05:00
parent e5b7ad50ad
commit 972856acee
9 changed files with 56 additions and 25 deletions

View file

@ -1,7 +1,7 @@
{ pkgs, ... }:
{
# I want this globally even for root so doing it outside of home manager
services.xserver.xkbOptions = "caps:escape";
services.xserver.xkb.options = "caps:escape";
console = {
earlySetup = true;
packages = with pkgs; [ terminus_font ];

View file

@ -1,16 +1,13 @@
{ config, pkgs, settings, ylib, ... } @ inputs:
let
home-manager = builtins.fetchTarball {
url = "https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz";
# to get hash run `nix-prefetch-url --unpack "https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz"`
sha256 = "0g51f2hz13dk953i501fmc6935difhz60741nypaqwz127hy5ldk";
};
in
{ config, pkgs, home-manager, settings, ylib, ... } @ inputs:
# Note that we must have the channel added for the import to work below
# `sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager`
# `sudo nix-channel --update`
{
imports =
[
# home manager import
(import "${home-manager}/nixos")
home-manager.nixosModules.home-manager
# home-manager
];
# Home manager options
security.polkit.enable = true;

View file

@ -48,7 +48,6 @@ in
neofetch
bat
htop
nvtop
unzip
git
fzf

View file

@ -30,7 +30,7 @@
hardware.pulseaudio.enable = true;
hardware.pulseaudio.package = pkgs.pulseaudioFull;
# environment.systemPackages = with pkgs; [ ];
environment.systemPackages = with pkgs; [ nvtopPackages.full ];
# nvidia gfx https://nixos.wiki/wiki/Nvidia
# =========