aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-10-21 01:13:48 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-10-21 01:13:48 -0700
commit6d0423c4914cf409184d78d34f59aafa0d702bdb (patch)
treef59fb4548b924cba23641e53d77feadfecef2d89
parent2dd9ecc94510c7b31accb88183d3eba0294937d5 (diff)
downloadnix-6d0423c4914cf409184d78d34f59aafa0d702bdb.tar
nix-6d0423c4914cf409184d78d34f59aafa0d702bdb.tar.gz
nix-6d0423c4914cf409184d78d34f59aafa0d702bdb.tar.bz2
nix-6d0423c4914cf409184d78d34f59aafa0d702bdb.tar.lz
nix-6d0423c4914cf409184d78d34f59aafa0d702bdb.tar.xz
nix-6d0423c4914cf409184d78d34f59aafa0d702bdb.tar.zst
nix-6d0423c4914cf409184d78d34f59aafa0d702bdb.zip
Remove nVidia patches
-rw-r--r--flake.nix8
-rw-r--r--hosts/arrakis/hardware-configuration.nix5
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;
};
};
}