fix: SSH key fixes
This commit is contained in:
@@ -19,14 +19,16 @@
|
||||
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";
|
||||
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
../../public-keys/crumb-at-guix-rebound.pub
|
||||
../../public-keys/crumble-at-fruitbook.pub
|
||||
../../public-keys/ssh/crumb-at-guix-rebound.pub
|
||||
../../public-keys/ssh/crumble-at-fruitbook.pub
|
||||
../../public-keys/ssh/crumb-at-nixos-testbed.pub
|
||||
];
|
||||
};
|
||||
|
||||
homeConfiguration = { config, lib, pkgs, ... }: {
|
||||
imports = [
|
||||
../crumb/programs/nvim.nix
|
||||
./files.nix
|
||||
];
|
||||
|
||||
programs.bash.enable = true;
|
||||
|
||||
9
users/lain/files.nix
Normal file
9
users/lain/files.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let mutableSymlink = config.lib.file.mkOutOfStoreSymlink;
|
||||
in {
|
||||
home.file.".ssh/id_ed25519".source =
|
||||
mutableSymlink "/persist/private-keys/ssh/lain-at-deertopia";
|
||||
home.file.".ssh/id_ed25519.pub".source =
|
||||
../../public-keys/ssh/lain-at-deertopia.pub;
|
||||
}
|
||||
Reference in New Issue
Block a user