diff options
-rw-r--r-- | flake.nix | 8 | ||||
-rw-r--r-- | hosts/arrakis/hardware-configuration.nix | 5 |
2 files changed, 2 insertions, 11 deletions
@@ -23,11 +23,6 @@ nixpkgs-stable.url = "github:nixos/nixpkgs/release-24.05"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; - nvidia-patch = { - url = "github:icewind1991/nvidia-patch-nixos"; - inputs.nixpkgs.follows = "nixpkgs-unstable"; - }; - sops-nix = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs-unstable"; @@ -35,7 +30,7 @@ }; - outputs = inputs@{ home-manager-stable, home-manager-unstable, nixos-hardware, nixpkgs-stable, nixpkgs-unstable, nvidia-patch, sops-nix, ... }: { + outputs = inputs@{ home-manager-stable, home-manager-unstable, nixos-hardware, nixpkgs-stable, nixpkgs-unstable, sops-nix, ... }: { nixosConfigurations = { @@ -63,7 +58,6 @@ home-manager.users.nipsy = import ./home/nipsy/arrakis.nix; } sops-nix.nixosModules.sops - { nixpkgs.overlays = [ nvidia-patch.overlays.default ]; } ]; }; diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix index 122fde4..ed9b51e 100644 --- a/hosts/arrakis/hardware-configuration.nix +++ b/hosts/arrakis/hardware-configuration.nix @@ -3,9 +3,6 @@ # to /etc/nixos/configuration.nix instead. { config, lib, pkgs, modulesPath, ... }: -let - package = config.boot.kernelPackages.nvidiaPackages.beta; -in { imports = [ #(modulesPath + "/installer/scan/not-detected.nix") @@ -101,7 +98,7 @@ in nvidia = { modesetting.enable = true; open = true; - package = pkgs.nvidia-patch.patch-nvenc (pkgs.nvidia-patch.patch-fbc package); + package = config.boot.kernelPackages.nvidiaPackages.beta; }; }; } |