Enable nvidia GPU

Update flake inputs
This commit is contained in:
Pim Kunis 2025-02-25 21:30:07 +01:00
parent c02ce01b03
commit 4fb55a69b7
3 changed files with 48 additions and 2900 deletions

2942
flake.lock generated

File diff suppressed because it is too large Load diff

View file

@ -95,6 +95,7 @@
services = {
desktopManager.cosmic.enable = true;
displayManager.cosmic-greeter.enable = true;
services.xserver.videoDrivers = ["nvidia"];
};
};
};

View file

@ -6,6 +6,11 @@
config = lib.mkIf (builtins.elem "desktop" config.deployment.tags) {
programs.ssh.startAgent = true;
hardware.opengl = {
enable = true;
driSupport32Bit = true;
};
services = {
xserver.enable = true;
printing.enable = true;