git-cryp: test

This commit is contained in:
Mateusz Słodkowicz 2024-03-03 00:26:24 +01:00
parent cf78dd369e
commit e449ce8c56
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
3 changed files with 3 additions and 3 deletions

View File

@ -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;

Binary file not shown.

View File

@ -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");
}; };
} }