From 9231eb0d2de8ca0dd8f007061dc16e9e0d3b475c Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Mon, 5 Jan 2026 17:08:09 +0100 Subject: [PATCH] set ssh keys to the file dynamically for allowed keys, and fix all preservation settings erroring out --- nixos/shared/default.nix | 4 ++-- nixos/shared/preservation.nix | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/nixos/shared/default.nix b/nixos/shared/default.nix index c217eaf..c2995fd 100644 --- a/nixos/shared/default.nix +++ b/nixos/shared/default.nix @@ -273,8 +273,8 @@ shell = pkgs.zsh; hashedPasswordFile = config.sops.secrets."lillian-password".path; openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILhwA+ZdP2tEBYQNdzLHZzFHxocyeqzhXI6tFpaZA3PZ lillian@EDI" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH30G2PJOnI6jnAtxOQV0SpLFUva0adarLZLvaoZvjGE lillian@GLaDOS" + "${builtins.readFile ../../home-manager/hosts/GLaDOS/id_ed25519.pub}" + "${builtins.readFile ../../home-manager/hosts/EDI/id_ed25519.pub}" ]; }; diff --git a/nixos/shared/preservation.nix b/nixos/shared/preservation.nix index f79891c..36bcb48 100644 --- a/nixos/shared/preservation.nix +++ b/nixos/shared/preservation.nix @@ -100,7 +100,6 @@ mode = "0700"; } #Desktop - "gnupg" ".local/state/wireplumber" ".local/share/direnv" ".local/state/nix"