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. # Enable the OpenSSH daemon.
openssh = { openssh = {
enable = true; enable = true;
settings.PermitRootLogin = "no"; settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
}; };
}; };

View file

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