Move sops default file configuration to private submodule

This commit is contained in:
Fabian Hauser 2025-03-25 16:26:59 +02:00
parent a990c33299
commit 6818a9cea2
3 changed files with 5 additions and 12 deletions

View file

@ -2,7 +2,6 @@
config,
lib,
pkgs,
inputs,
...
}:
{
@ -112,12 +111,6 @@
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;
qois.outgoing-server-mail.enable = true;