From 2d1177d41bea495d021f7048ffd49eb31aab1fa1 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Tue, 15 Oct 2024 16:23:30 -0700 Subject: Move nvidia-patch content --- flake.nix | 4 ++++ hosts/arrakis/hardware-configuration.nix | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 9adf110..97f8527 100644 --- a/flake.nix +++ b/flake.nix @@ -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 { -- cgit v1.2.3