WIP: configure bikkje as login server #24

Draft
felixalb wants to merge 5 commits from setup-bikkje-login into main
3 changed files with 7 additions and 2 deletions
Showing only changes of commit 8b44ddd56d - Show all commits

View File

@ -73,6 +73,7 @@
# Trusted users on the nix builder machines # Trusted users on the nix builder machines
users.groups."nix-builder-users".name = "nix-builder-users"; users.groups."nix-builder-users".name = "nix-builder-users";
users.motd = builtins.readFile ./misc/motd;
services.openssh = { services.openssh = {
enable = true; enable = true;

View File

@ -80,9 +80,13 @@
PubkeyAcceptedAlgorithms=+ssh-rsa PubkeyAcceptedAlgorithms=+ssh-rsa
''; '';
settings.GatewayPorts = "yes"; settings = {
banner = builtins.readFile ../../motd; GatewayPorts = "yes";
PermitRootLogin = "yes";
}; };
};
users.motd = builtins.readFile ../../misc/motd;
networking = { networking = {
firewall.enable = true; firewall.enable = true;

View File