add roaming ssh pubkey

This commit is contained in:
Vinzenz Schroeter 2023-08-27 20:24:57 +02:00
parent 419be69b9c
commit 72e2acdef1
2 changed files with 17 additions and 3 deletions

View file

@ -83,7 +83,11 @@
# Enable the OpenSSH daemon.
openssh = {
enable = true;
settings.PermitRootLogin = "no";
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
};

View file

@ -9,7 +9,9 @@
description = "Vinzenz Schroeter";
extraGroups = ["networkmanager" "wheel"];
shell = pkgs.zsh;
# openssh.authorizedKeys.keys = [ "ssh-dss AAAAB3NzaC1kc3MAAACBAPIkGWVEt4..." ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINrY6tcgnoC/xbgL7vxSjddEY9MBxRXe9n2cAHt88/TT home roaming"
];
};
# home manager
@ -37,7 +39,6 @@
insync
# gnome-secrets
tdesktop
lutris
simple-scan
wireguard-tools
# steamlink
@ -66,6 +67,15 @@
jetbrains.pycharm-professional
kdiff3
docker
(lutris.override {
extraPkgs = pkgs: [
# List package dependencies here
];
extraLibraries = pkgs: [
# List library dependencies here
];
})
];
file.".nanorc".text = ''