diff --git a/hosts/nixos-desktop/default.nix b/hosts/nixos-desktop/default.nix index bed3eca..84d74d2 100644 --- a/hosts/nixos-desktop/default.nix +++ b/hosts/nixos-desktop/default.nix @@ -29,8 +29,6 @@ services.wallpaper.enable = true; }; - virtualisation.containers.cdi.dynamic.nvidia.enable = true; - home-manager.users.moritz.home.packages = with pkgs; [ anki stable.calibre # NOTE: breaks often in unstable @@ -38,10 +36,14 @@ hardware = { keyboard.qmk.enable = true; - nvidia.modesetting.enable = true; - opengl = { + nvidia = { + modesetting.enable = true; + open = true; + }; + nvidia-container-toolkit.enable = true; + graphics = { enable = true; - driSupport32Bit = true; + enable32Bit = true; }; # sensors @@ -50,9 +52,6 @@ }; boot = { - # KERNEL - kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; # NOTE: use latest zfs compatible kernel - # BOOT supportedFilesystems = [ "zfs" "btrfs" "ntfs" ]; loader = {