moved nvidia drivers to host configuration

This commit is contained in:
Moritz Böhme 2021-10-03 12:29:45 +02:00
parent 473d14d921
commit e8ec62c608
2 changed files with 11 additions and 21 deletions

View file

@ -5,8 +5,7 @@
{ config, pkgs, ... }:
{
imports =
[
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
];
@ -36,6 +35,8 @@
interfaces.enp42s0.useDHCP = true;
};
services.xserver.videoDrivers = [ "nvidia" ];
# Powersaving
services.tlp.enable = true;
powerManagement.enable = true;

View file

@ -6,8 +6,6 @@
enable = true;
layout = "de";
videoDrivers = [ "nvidia" ];
displayManager = {
defaultSession = "none+bspwm";
@ -15,9 +13,7 @@
enable = true;
user = "moritz";
};
lightdm = {
enable = true;
};
lightdm = { enable = true; };
};
windowManager.bspwm.enable = true;
};
@ -39,16 +35,9 @@
source = ./sxhkdrc;
onChange = "pkill -USR1 -x sxhkd";
};
"wallpaper/dracula.png" = {
source = ./dracula.png;
"wallpaper/dracula.png" = { source = ./dracula.png; };
};
};
};
home.packages = with pkgs; [
feh
playerctl
pamixer
brightnessctl
];
home.packages = with pkgs; [ feh playerctl pamixer brightnessctl ];
};
}