diff options
-rw-r--r-- | flake.nix | 4 | ||||
-rw-r--r-- | hosts/arrakis/hardware-configuration.nix | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -32,6 +32,9 @@ }; outputs = inputs@{ home-manager-stable, home-manager-unstable, nixos-hardware, nixpkgs-stable, nixpkgs-unstable, nvidia-patch, sops-nix, ... }: rec { + + nixpkgs.overlays = [ inputs.nvidia-patch.overlays.default ]; + nixosConfigurations = { arrakis = nixpkgs-unstable.lib.nixosSystem { pkgs = pkgs-unstable; @@ -115,4 +118,5 @@ overlays = [(import ./pkgs)]; }; }; + } diff --git a/hosts/arrakis/hardware-configuration.nix b/hosts/arrakis/hardware-configuration.nix index 4dd60b8..8d87066 100644 --- a/hosts/arrakis/hardware-configuration.nix +++ b/hosts/arrakis/hardware-configuration.nix @@ -1,4 +1,4 @@ -{ config, inputs, lib, nvidia-patch, pkgs, modulesPath, ... }: +{ config, lib, pkgs, modulesPath, ... }: { imports = @@ -50,8 +50,6 @@ { device = "/dev/disk/by-label/swap2"; } ]; - nixpkgs.overlays = [ inputs.nvidia-patch.overlays.default ]; - hardware = { bluetooth.enable = true; nvidia = let package = config.boot.kernelPackages.nvidiaPackages.beta; in { |