fix: remove old workaround for agenix

This commit is contained in:
Patrick 2024-06-09 15:33:16 +02:00
parent 284c7bcc89
commit cfaea8f07f
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
3 changed files with 1 additions and 8 deletions

View file

@ -117,7 +117,7 @@
{ {
secretsConfig = { secretsConfig = {
# This should be a link to one of the age public keys is './keys' # This should be a link to one of the age public keys is './keys'
masterIdentities = ["/run/decrypt.key.pub"]; masterIdentities = [./keys/PatC.key];
extraEncryptionPubkeys = [./secrets/recipients.txt]; extraEncryptionPubkeys = [./secrets/recipients.txt];
}; };
agenix-rekey = agenix-rekey.configure { agenix-rekey = agenix-rekey.configure {

View file

@ -50,9 +50,6 @@
dockerCompat = true; dockerCompat = true;
}; };
system.activationScripts.decryptKey.text = ''
ln -f -s ${../../keys/PatC.key} /run/decrypt.key.pub
'';
boot.binfmt.emulatedSystems = ["aarch64-linux" "riscv64-linux"]; boot.binfmt.emulatedSystems = ["aarch64-linux" "riscv64-linux"];
nix.settings.system-features = ["kvm" "nixos-test"]; nix.settings.system-features = ["kvm" "nixos-test"];

View file

@ -51,8 +51,4 @@
}; };
}; };
}; };
system.activationScripts.decryptKey.text = ''
ln -f -s ${../../keys/PatC.key} /run/decrypt.key.pub
'';
services.netbird.enable = true;
} }