This commit is contained in:
iFargle 2023-09-23 20:40:19 +09:00
parent 686e610ab2
commit e3f5b5bcd2
3 changed files with 3 additions and 4 deletions

View file

@ -16,8 +16,7 @@
layout = "us";
xkbVariant = "";
autorun = true;
# When you play games, change this to nvidia
videoDrivers = [ gpu ];
videoDrivers = [ ] ++ lib.optional (builtins.isString gpu) gpu;
};
##### disable nvidia, very nice battery life.

View file

@ -7,7 +7,7 @@
# ];
# };
services.xserver.videoDrivers = [ gpu ];
services.xserver.videoDrivers = [ ] ++ lib.optional (builtins.isString gpu) gpu;
# tuigreet
services.greetd = {

View file

@ -19,4 +19,4 @@
networking.hostName = "nixos-vm-02";
networking.firewall.allowedTCPPorts = [ 22 ];
}
}