feat: use sops-nix bc it has better docs than agenix and git-crypt still leaks to the store
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
@@ -28,7 +29,7 @@ in
|
||||
Type = "oneshot";
|
||||
User = "dyndns";
|
||||
ExecStart = "${pyenv.interpreter} ${./dyndns.py}";
|
||||
EnvironmentFile = ./. + "/nc.env.secret";
|
||||
EnvironmentFile = config.sops.secrets.dyndns.path;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user