diff options
-rw-r--r-- | flake.nix | 16 | ||||
-rw-r--r-- | hosts/ginaz/default.nix | 2 |
2 files changed, 14 insertions, 4 deletions
@@ -2,10 +2,18 @@ description = "nipsy's NixOS configuration"; inputs = { - agenix.url = "github:ryantm/agenix"; + agenix = { + url = "github:ryantm/agenix"; + inputs = { + nixpkgs.follows = "nixpkgs-unstable"; + darwin.follows = ""; + }; + }; - disko.url = "github:nix-community/disko"; - disko.inputs.nixpkgs.follows = "nixpkgs-unstable"; + disko = { + url = "github:nix-community/disko"; + inputs.nixpkgs.follows = "nixpkgs-unstable"; + }; home-manager-stable = { url = "github:nix-community/home-manager/release-23.11"; @@ -27,6 +35,7 @@ nixosConfigurations = { darkstar = nixpkgs-unstable.lib.nixosSystem { pkgs = pkgs-unstable; + specialArgs = inputs; system = "x86_64-linux"; modules = [ ./hosts/darkstar @@ -40,6 +49,7 @@ ginaz = nixpkgs-unstable.lib.nixosSystem { pkgs = pkgs-unstable; + specialArgs = inputs; system = "x86_64-linux"; modules = [ ./hosts/ginaz diff --git a/hosts/ginaz/default.nix b/hosts/ginaz/default.nix index 61dbf95..b20c687 100644 --- a/hosts/ginaz/default.nix +++ b/hosts/ginaz/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: { +{ agenix, config, pkgs, ... }: { boot = { initrd.kernelModules = [ "amdgpu" "zfs" ]; kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; |