tadpole: Add agenix module
This commit is contained in:
14
hosts/tadpole/modules/age/default.nix
Normal file
14
hosts/tadpole/modules/age/default.nix
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{ inputs, pkgs, ... }:
|
||||||
|
{
|
||||||
|
imports = [ inputs.agenix.nixosModules.default ];
|
||||||
|
|
||||||
|
config = {
|
||||||
|
age = {
|
||||||
|
identityPaths = [ "/etc/ssh/tadpole" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = [
|
||||||
|
inputs.agenix.packages."${pkgs.system}".default
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user