forked from nico/dots
nixos: add ssh key to modules/linux/ssh
This commit is contained in:
parent
117fa5d57c
commit
14ac9f27c4
1 changed files with 5 additions and 0 deletions
|
|
@ -14,6 +14,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
# add ssh key
|
||||
users.users.nico.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMNq0xyfsucfXiFnLsUC/rz0FDw8JrPtUdFqmKLL0HBM"
|
||||
];
|
||||
|
||||
# enable ssh in the firewall
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue