materusPC: secrets test
This commit is contained in:
parent
36e1db6cb1
commit
cf78dd369e
|
@ -1 +1,2 @@
|
||||||
**/private/** filter=git-crypt diff=git-crypt
|
**/private/** filter=git-crypt diff=git-crypt
|
||||||
|
encrypted-test filter=git-crypt diff=git-crypt
|
|
@ -1,8 +1,8 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, materusCfg, ... }:
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./private
|
(if (materusCfg.materusFlake.encrypted == "decrypted") then ./private else "")
|
||||||
];
|
];
|
||||||
|
|
||||||
sops.age.generateKey = false;
|
sops.age.generateKey = false;
|
||||||
|
|
Binary file not shown.
|
@ -54,9 +54,10 @@
|
||||||
|
|
||||||
|
|
||||||
outputs = inputs @ { self, nixpkgs, home-manager, nur, ... }:
|
outputs = inputs @ { self, nixpkgs, home-manager, nur, ... }:
|
||||||
{
|
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 = ./.;
|
||||||
|
encrypted = builtins.readFile (selfPath + "/encrypted-test");
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue