Skip to content

Commit

Permalink
remove zeroad package unless enabled and nvtop is only enabled if nvi…
Browse files Browse the repository at this point in the history
…dia is used
  • Loading branch information
NotZaney committed Mar 11, 2024
1 parent 05e7697 commit 81fd6c2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/home/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ in {
home.packages = with pkgs; [
pkgs."${browser}" discord libvirt swww grim slurp gnome.file-roller
swaynotificationcenter rofi-wayland imv transmission-gtk mpv
gimp obs-studio rustup audacity pavucontrol tree zeroad protonup-qt
font-awesome spotify swayidle neovide element-desktop swaylock
gimp obs-studio rustup audacity pavucontrol tree protonup-qt
font-awesome spotify swayidle neovide swaylock
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
# Import Scripts
(import ./../scripts/emopicker9000.nix { inherit pkgs; })
Expand Down
3 changes: 3 additions & 0 deletions config/system/intel-nvidia.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ lib.mkIf ("${gpuType}" == "intel-nvidia") {
enableHybridCodec = true;
};
};
environment.systemPackages = with pkgs; [
nvtop
];
# OpenGL
hardware.opengl = {
extraPackages = with pkgs; [
Expand Down
3 changes: 3 additions & 0 deletions config/system/nvidia.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

let inherit (import ../../options.nix) gpuType; in
lib.mkIf ("${gpuType}" == "nvidia") {
environment.systemPackages = with pkgs; [
nvtop
];
services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia = {
# Modesetting is required.
Expand Down
2 changes: 1 addition & 1 deletion config/system/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
pkg-config meson hugo gnumake ninja go nodejs symbola
noto-fonts-color-emoji material-icons brightnessctl
toybox virt-viewer swappy ripgrep appimage-run
networkmanagerapplet yad playerctl nh nvtop
networkmanagerapplet yad playerctl nh
];

programs = {
Expand Down

0 comments on commit 81fd6c2

Please sign in to comment.