Add lime configuration #10

Merged
riley merged 10 commits from add-lime into mistress 2023-06-17 13:40:14 +02:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 54f72cbcc0 - Show all commits

View file

@ -12,7 +12,6 @@ in {
config = lib.mkIf (cfg.enable) { config = lib.mkIf (cfg.enable) {
hardware.opengl.enable = true; hardware.opengl.enable = true;
hardware.nvidia.modesetting.enable = true;
security.rtkit.enable = true; security.rtkit.enable = true;
@ -21,7 +20,6 @@ in {
services.xserver = { services.xserver = {
enable = true; enable = true;
displayManager.gdm.enable = true; displayManager.gdm.enable = true;
videoDrivers = [ "nvidia" ];
}; };
services.pipewire = { services.pipewire = {

View file

@ -47,4 +47,8 @@
swapDevices = [ swapDevices = [
{ device = "/dev/nixos/swap"; } { device = "/dev/nixos/swap"; }
]; ];
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia.modesetting.enable = true;
} }