From a416a9fb83def3bc00c04d57ef9d2284c2c1df4e Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 30 Dec 2024 16:31:02 +0100 Subject: Move secrets folder into configuration Signed-off-by: Mel --- secrets/keys.nix | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 secrets/keys.nix (limited to 'secrets/keys.nix') diff --git a/secrets/keys.nix b/secrets/keys.nix deleted file mode 100644 index 6f3a57d..0000000 --- a/secrets/keys.nix +++ /dev/null @@ -1,22 +0,0 @@ -let - # machines and their host key that are included in this configuration, - # in this case, just one. - machines = { - specimen = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMuIJFXse7iSMaOoBdr/WGqbNBwWLQTpFw6R8ram89gB"; - }; - - # users that can sign secrets, with all of their keys. - admins = { - mel = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEDujTul5wWyGnidLnNuJDRze0Up29l2cDpyKdmvW2Ls" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEK96G1n31aJsZOrux3BKM0ztzi/SFAVHn0MsGkPDdqY" - ]; - philip = [ ]; - }; -in -{ - inherit machines admins; - - allAdminKeys = with builtins; concatLists (attrValues admins); - allMachineKeys = builtins.attrValues machines; -} -- cgit 1.4.1