diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-05-15 11:29:43 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-05-15 11:29:43 -0700 |
commit | 131141ba00a93de7be7491df3681cbd1f4c39099 (patch) | |
tree | 99700cc8456d1e161640558192dcf6f17c3a7eca | |
parent | 82325a1234180affdfaecd04686537ef2954a61b (diff) | |
download | nix-131141ba00a93de7be7491df3681cbd1f4c39099.tar nix-131141ba00a93de7be7491df3681cbd1f4c39099.tar.gz nix-131141ba00a93de7be7491df3681cbd1f4c39099.tar.bz2 nix-131141ba00a93de7be7491df3681cbd1f4c39099.tar.lz nix-131141ba00a93de7be7491df3681cbd1f4c39099.tar.xz nix-131141ba00a93de7be7491df3681cbd1f4c39099.tar.zst nix-131141ba00a93de7be7491df3681cbd1f4c39099.zip |
Fix agenix configuration
Diffstat (limited to '')
-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; |