sombrero: Add agenix module and use it for pinwheel ssh key
This commit is contained in:
13
hosts/sombrero/modules/age/default.nix
Normal file
13
hosts/sombrero/modules/age/default.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ inputs, config, ... }:
|
||||
let
|
||||
system = config.config-manager.system;
|
||||
in
|
||||
{
|
||||
age = {
|
||||
identityPaths = [ "/etc/ssh/sombrero" ];
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
inputs.agenix.packages."${system}".default
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user