Move sops default file configuration to private submodule
This commit is contained in:
parent
a990c33299
commit
6818a9cea2
3 changed files with 5 additions and 12 deletions
8
flake.lock
generated
8
flake.lock
generated
|
@ -170,11 +170,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1742912471,
|
"lastModified": 1742912717,
|
||||||
"narHash": "sha256-9d/7MRpDJMEguLyOnm6iuMObDc+uq09KdHJO3z8573U=",
|
"narHash": "sha256-jKDVM4hLzNwYpg1/at53B2LZIEEvey1UUIi5cR8wNVQ=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "95d25445a04f04e74266fb17412b78fc983023bd",
|
"rev": "80b04cd406adc46357888614ecc3f467b85ab8fa",
|
||||||
"revCount": 14,
|
"revCount": 15,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "file:./private"
|
"url": "file:./private"
|
||||||
},
|
},
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
@ -112,12 +111,6 @@
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
sops.defaultSopsFile =
|
|
||||||
let
|
|
||||||
defaultSopsPath = "${inputs.private}/nixos-configurations/${config.networking.hostName}/secrets.sops.yaml";
|
|
||||||
in
|
|
||||||
lib.mkIf (builtins.pathExists defaultSopsPath) defaultSopsPath;
|
|
||||||
|
|
||||||
services.fstrim.enable = true;
|
services.fstrim.enable = true;
|
||||||
|
|
||||||
qois.outgoing-server-mail.enable = true;
|
qois.outgoing-server-mail.enable = true;
|
||||||
|
|
2
private
2
private
|
@ -1 +1 @@
|
||||||
Subproject commit 95d25445a04f04e74266fb17412b78fc983023bd
|
Subproject commit 80b04cd406adc46357888614ecc3f467b85ab8fa
|
Loading…
Add table
Reference in a new issue