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