From 30527846cc7e849f74fa33d950fad63e578d9a45 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 9 Jun 2024 23:20:05 +0200 Subject: [PATCH] TITAN/vendor-reset: init --- hosts/TITAN/extras/vendor-reset.nix | 9 +++++++++ hosts/TITAN/system.nix | 1 + 2 files changed, 10 insertions(+) create mode 100644 hosts/TITAN/extras/vendor-reset.nix diff --git a/hosts/TITAN/extras/vendor-reset.nix b/hosts/TITAN/extras/vendor-reset.nix new file mode 100644 index 0000000..4af2b96 --- /dev/null +++ b/hosts/TITAN/extras/vendor-reset.nix @@ -0,0 +1,9 @@ +{ config, ... }: + +{ + boot.extraModulePackages = [ + config.boot.kernelPackages.vendor-reset + ]; + + boot.initrd.kernelModules = [ "vendor-reset" ]; +} diff --git a/hosts/TITAN/system.nix b/hosts/TITAN/system.nix index 2eaca3d..9fb5d47 100644 --- a/hosts/TITAN/system.nix +++ b/hosts/TITAN/system.nix @@ -9,6 +9,7 @@ ./extras/fbi-downloader.nix ./extras/invokeai.nix ./extras/nvidia-ml.nix + ./extras/vendor-reset.nix (import ../../users "desktop").users.max inputs.agenix.nixosModules.age ]