nixos: add ssh key
This commit is contained in:
parent
0084271746
commit
be2862c68a
1 changed files with 4 additions and 1 deletions
|
@ -101,7 +101,10 @@
|
||||||
];
|
];
|
||||||
hashedPasswordFile = config.sops.secrets."hashed-passwd".path;
|
hashedPasswordFile = config.sops.secrets."hashed-passwd".path;
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
packages = [];
|
openssh.authorizedKeys.keys = [
|
||||||
|
# same as git signing
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMmd/uqiBahzKcKMJ+gT3dkUIdrWQgudspsDchDlx1E/ guanran928@outlook.com"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue