fix: isolate secret
This commit is contained in:
parent
dc8b13736b
commit
62c440f78a
2 changed files with 9 additions and 7 deletions
|
|
@ -16,6 +16,14 @@ in
|
||||||
self.nixosModules.default
|
self.nixosModules.default
|
||||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||||
];
|
];
|
||||||
|
sops.secrets = {
|
||||||
|
otfenv = {
|
||||||
|
owner = "otf";
|
||||||
|
group = "otf";
|
||||||
|
mode = "0550";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
tty-ips.enable = true;
|
tty-ips.enable = true;
|
||||||
otf = {
|
otf = {
|
||||||
|
|
|
||||||
|
|
@ -11,12 +11,6 @@
|
||||||
];
|
];
|
||||||
sops = {
|
sops = {
|
||||||
defaultSopsFile = ../../../secrets.yaml;
|
defaultSopsFile = ../../../secrets.yaml;
|
||||||
secrets = {
|
|
||||||
otfenv = {
|
|
||||||
owner = "otf";
|
|
||||||
group = "otf";
|
|
||||||
mode = "0550";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue