diff --git a/hosts/pinwheel/configuration.nix b/hosts/pinwheel/configuration.nix index fa6c547..dd91e41 100644 --- a/hosts/pinwheel/configuration.nix +++ b/hosts/pinwheel/configuration.nix @@ -1,4 +1,4 @@ -{ inputs, system, pkgs, ... }: +{ system, pkgs, ... }: { imports = [ @@ -65,7 +65,6 @@ }; environment.systemPackages = with pkgs; [ - inputs.agenix.packages."${system}".default coreutils gnumake bash diff --git a/hosts/pinwheel/modules/age/default.nix b/hosts/pinwheel/modules/age/default.nix index 6b9f29e..c82a11e 100644 --- a/hosts/pinwheel/modules/age/default.nix +++ b/hosts/pinwheel/modules/age/default.nix @@ -1,3 +1,7 @@ +{ inputs, config, ... }: +let + system = config.config-manager.system; +in { age = { identityPaths = [ @@ -5,4 +9,8 @@ "/home/alex/.ssh/alex.pinwheel" ]; }; + + environment.systemPackages = [ + inputs.agenix.packages."${system}".default + ]; }