mirror of
https://github.com/materusPL/nixos-config
synced 2025-06-26 10:04:24 +02:00
materusPC: secrets test
This commit is contained in:
parent
36e1db6cb1
commit
cf78dd369e
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1 +1,2 @@
|
||||
**/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 =
|
||||
[
|
||||
./private
|
||||
(if (materusCfg.materusFlake.encrypted == "decrypted") then ./private else "")
|
||||
];
|
||||
|
||||
sops.age.generateKey = false;
|
||||
|
BIN
encrypted-test
Normal file
BIN
encrypted-test
Normal file
Binary file not shown.
@ -54,9 +54,10 @@
|
||||
|
||||
|
||||
outputs = inputs @ { self, nixpkgs, home-manager, nur, ... }:
|
||||
{
|
||||
rec {
|
||||
nixosConfigurations = import ./configurations/host { inherit inputs; materusFlake = self; };
|
||||
homeConfigurations = import ./configurations/home { inherit inputs; materusFlake = self; };
|
||||
selfPath = ./.;
|
||||
encrypted = builtins.readFile (selfPath + "/encrypted-test");
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user