git-crypt: more tests
This commit is contained in:
parent
deaa785e1f
commit
e702504dee
|
@ -2,8 +2,8 @@
|
|||
{
|
||||
imports =
|
||||
[
|
||||
(if (materusCfg.materusFlake.decrypted == true) then ./private else "")
|
||||
];
|
||||
|
||||
] ++ (if (materusCfg.materusFlake.decrypted) then [ ./private ] else [] );
|
||||
|
||||
sops.age.generateKey = false;
|
||||
sops.gnupg.home = null;
|
||||
|
|
|
@ -13,4 +13,5 @@ in
|
|||
];
|
||||
options.materus.materusArg = lib.mkOption {default = {};};
|
||||
config._module.args.materusArg = config.materus.materusArg // materusArg;
|
||||
config.warnings = lib.mkIf (!materusCfg.materusFlake.decrypted) ["Repository not decrytped, private configs not loaded, use crypt.sh to decrypt"];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue