diff options
Diffstat (limited to 'sif.nix')
-rw-r--r-- | sif.nix | 26 |
1 files changed, 15 insertions, 11 deletions
@@ -121,17 +121,21 @@ | |||
121 | }; | 121 | }; |
122 | }; | 122 | }; |
123 | 123 | ||
124 | boot.kernelPackages = pkgs.linuxPackages_latest.extend (self: super: { | 124 | nixpkgs.overlays = [ |
125 | nvidia_x11 = super.nvidia_x11.overrideAttrs (attrs: { | 125 | (self: super: { |
126 | patches = [ | 126 | linuxPackages_latest = super.linuxPackages_latest.extend (self: super: { |
127 | (pkgs.fetchpatch { | 127 | nvidia_x11 = super.nvidia_x11.overrideAttrs (attrs: { |
128 | name = "nvidia-kernel-5.7.patch"; | 128 | patches = [ |
129 | url = "https://gitlab.com/snippets/1965550/raw"; | 129 | (pkgs.fetchpatch { |
130 | sha256 = "03iwxhkajk65phc0h5j7v4gr4fjj6mhxdn04pa57am5qax8i2g9w"; | 130 | name = "nvidia-kernel-5.7.patch"; |
131 | }) | 131 | url = "https://gitlab.com/snippets/1965550/raw"; |
132 | ]; | 132 | sha256 = "03iwxhkajk65phc0h5j7v4gr4fjj6mhxdn04pa57am5qax8i2g9w"; |
133 | }); | 133 | }) |
134 | }); | 134 | ]; |
135 | }); | ||
136 | }); | ||
137 | }) | ||
138 | ]; | ||
135 | 139 | ||
136 | services = { | 140 | services = { |
137 | pcscd.enable = true; | 141 | pcscd.enable = true; |