From 6d0423c4914cf409184d78d34f59aafa0d702bdb Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Mon, 21 Oct 2024 01:13:48 -0700 Subject: Remove nVidia patches --- flake.nix | 8 +------- hosts/arrakis/hardware-configuration.nix | 5 +---- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/flake.nix b/flake.nix index 697b29c..e263287 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }; }; } -- cgit v1.2.3