forked from clan/clan-core
Merge branch 'fix_secrets' into autodeploy
This commit is contained in:
commit
5d8ee29ed4
@ -4,10 +4,11 @@
|
|||||||
nodes.machine =
|
nodes.machine =
|
||||||
{ self, config, ... }:
|
{ self, config, ... }:
|
||||||
{
|
{
|
||||||
|
environment.etc."privkey.age".source = ./key.age;
|
||||||
imports = [ (self.nixosModules.clanCore) ];
|
imports = [ (self.nixosModules.clanCore) ];
|
||||||
environment.etc."secret".source = config.sops.secrets.secret.path;
|
environment.etc."secret".source = config.sops.secrets.secret.path;
|
||||||
environment.etc."group-secret".source = config.sops.secrets.group-secret.path;
|
environment.etc."group-secret".source = config.sops.secrets.group-secret.path;
|
||||||
sops.age.keyFile = ./key.age;
|
sops.age.keyFile = "/etc/privkey.age";
|
||||||
|
|
||||||
clanCore.clanDir = "${./.}";
|
clanCore.clanDir = "${./.}";
|
||||||
clanCore.machineName = "machine";
|
clanCore.machineName = "machine";
|
||||||
|
Loading…
Reference in New Issue
Block a user