This commit is contained in:
Johannes Jöns 2023-04-05 09:21:51 +02:00
parent d45156b4ee
commit 9aa00d2b45
2 changed files with 3 additions and 3 deletions

View file

@ -13,10 +13,10 @@ in
services.openssh = { services.openssh = {
enable = true; enable = true;
passwordAuthentication = false; passwordAuthentication = false;
kbdInteractiveAuthentication = false; kbdInteractiveAuthentication = false;
settings.X11forwarding = true; settings.X11forwarding = true;
settings.PermitRootLogin = "yes"; settings.PermitRootLogin = "yes";
} };
environment.systemPackages = with pkgs; [ sshfs ]; environment.systemPackages = with pkgs; [ sshfs ];
}; };
} }

View file

@ -14,7 +14,7 @@ in
users.users.jopejoe1 = { users.users.jopejoe1 = {
isNormalUser = true; isNormalUser = true;
description = "jopejoe1 🚫"; description = "jopejoe1 🚫";
#initialPassword = "password"; initialPassword = "password";
extraGroups = [ "wheel"] extraGroups = [ "wheel"]
++ lib.optionals config.custom.hardware.printing.enable [ "scanner" "lp"] ++ lib.optionals config.custom.hardware.printing.enable [ "scanner" "lp"]
++ lib.optional config.networking.networkmanager.enable "networkmanger"; ++ lib.optional config.networking.networkmanager.enable "networkmanger";