Deploy root's sops key by default

This commit is contained in:
Pim Kunis 2024-12-01 17:15:01 +01:00
parent d5978e4d47
commit 0ce79b62eb
7 changed files with 4 additions and 15 deletions

View file

@ -38,7 +38,7 @@
usersWithSopsKeys = lib.mkOption {
type = lib.types.listOf lib.types.str;
default = [];
default = lib.optional (! config.deployment.allowLocalDeployment) "root";
};
};
};