fix: SSH key fixes
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
age1qayk0d0f765v57pedm7mtau6qkmv8rh6jtaqm40g5g9armaty4jqc0v0y2
|
|
||||||
1
public-keys/ssh/crumb-at-nixos-testbed.pub
Normal file
1
public-keys/ssh/crumb-at-nixos-testbed.pub
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPVnrTT1npsdy8f6CCdmRdTMExSgVpTKgGVtq1wAaTZV crumb@nixos-testbed
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";
|
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";
|
||||||
|
|
||||||
openssh.authorizedKeys.keyFiles = [
|
openssh.authorizedKeys.keyFiles = [
|
||||||
../../public-keys/crumb-at-guix-rebound.pub
|
../../public-keys/ssh/crumb-at-guix-rebound.pub
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,13 @@
|
|||||||
|
|
||||||
let mutableSymlink = config.lib.file.mkOutOfStoreSymlink;
|
let mutableSymlink = config.lib.file.mkOutOfStoreSymlink;
|
||||||
in lib.mkMerge [
|
in lib.mkMerge [
|
||||||
|
{
|
||||||
|
home.file.".ssh/id_ed25519".source =
|
||||||
|
mutableSymlink "/persist/private-keys/ssh/crumb-at-nixos-testbed";
|
||||||
|
home.file.".ssh/id_ed25519.pub".source =
|
||||||
|
../../public-keys/ssh/crumb-at-nixos-testbed.pub;
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
### Some basic impermanence setup.
|
### Some basic impermanence setup.
|
||||||
|
|
||||||
|
|||||||
@@ -130,10 +130,10 @@ for example when calling `shell'.")
|
|||||||
(current-buffer))))))
|
(current-buffer))))))
|
||||||
|
|
||||||
(with-eval-after-load 'comint
|
(with-eval-after-load 'comint
|
||||||
|
(require 'syd-kanagawa)
|
||||||
(custom-theme-set-faces
|
(custom-theme-set-faces
|
||||||
'user
|
'user
|
||||||
;; Default prompt face is very ugly. Give it a more subtle look.
|
;; Default prompt face is very ugly. Give it a more subtle look.
|
||||||
(require 'syd-kanagawa)
|
|
||||||
`(comint-highlight-prompt
|
`(comint-highlight-prompt
|
||||||
((t :foreground ,(syd-kanagawa-get 'old-white)
|
((t :foreground ,(syd-kanagawa-get 'old-white)
|
||||||
:background unspecified
|
:background unspecified
|
||||||
|
|||||||
@@ -19,14 +19,16 @@
|
|||||||
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";
|
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";
|
||||||
|
|
||||||
openssh.authorizedKeys.keyFiles = [
|
openssh.authorizedKeys.keyFiles = [
|
||||||
../../public-keys/crumb-at-guix-rebound.pub
|
../../public-keys/ssh/crumb-at-guix-rebound.pub
|
||||||
../../public-keys/crumble-at-fruitbook.pub
|
../../public-keys/ssh/crumble-at-fruitbook.pub
|
||||||
|
../../public-keys/ssh/crumb-at-nixos-testbed.pub
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
homeConfiguration = { config, lib, pkgs, ... }: {
|
homeConfiguration = { config, lib, pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
../crumb/programs/nvim.nix
|
../crumb/programs/nvim.nix
|
||||||
|
./files.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.bash.enable = true;
|
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