base: add motd
This commit is contained in:
parent
c683a6d4c2
commit
8b44ddd56d
1
base.nix
1
base.nix
|
@ -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;
|
||||||
|
|
|
@ -80,10 +80,14 @@
|
||||||
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;
|
||||||
# Use systemd-resolved inside the container
|
# Use systemd-resolved inside the container
|
||||||
|
|
Loading…
Reference in New Issue