git-cryp: test
This commit is contained in:
parent
cf78dd369e
commit
e449ce8c56
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
imports =
|
||||
[
|
||||
(if (materusCfg.materusFlake.encrypted == "decrypted") then ./private else "")
|
||||
(if (materusCfg.materusFlake.decrypted == true) then ./private else "")
|
||||
];
|
||||
|
||||
sops.age.generateKey = false;
|
||||
|
|
BIN
encrypted-test
BIN
encrypted-test
Binary file not shown.
|
@ -57,7 +57,7 @@
|
|||
rec {
|
||||
nixosConfigurations = import ./configurations/host { inherit inputs; materusFlake = self; };
|
||||
homeConfigurations = import ./configurations/home { inherit inputs; materusFlake = self; };
|
||||
selfPath = ./.;
|
||||
encrypted = builtins.readFile (selfPath + "/encrypted-test");
|
||||
selfPath = self;
|
||||
decrypted = builtins.pathExists (selfPath + "/decrypted");
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue