moved nvidia drivers to host configuration
parent
473d14d921
commit
e8ec62c608
|
@ -5,11 +5,10 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
# BOOT
|
||||
boot = {
|
||||
|
@ -36,6 +35,8 @@
|
|||
interfaces.enp42s0.useDHCP = true;
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
|
||||
# Powersaving
|
||||
services.tlp.enable = true;
|
||||
powerManagement.enable = true;
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
enable = true;
|
||||
layout = "de";
|
||||
|
||||
videoDrivers = [ "nvidia" ];
|
||||
|
||||
displayManager = {
|
||||
defaultSession = "none+bspwm";
|
||||
|
||||
|
@ -15,15 +13,13 @@
|
|||
enable = true;
|
||||
user = "moritz";
|
||||
};
|
||||
lightdm = {
|
||||
enable = true;
|
||||
};
|
||||
lightdm = { enable = true; };
|
||||
};
|
||||
windowManager.bspwm.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
console.keyMap = "de";
|
||||
|
||||
console.keyMap = "de";
|
||||
|
||||
home-manager.users.moritz = {
|
||||
xsession.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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue