been a while since i updated this
This commit is contained in:
parent
c0ebcbfdd6
commit
f51af56c4a
|
@ -64,14 +64,16 @@ services.iperf3.enable = true;
|
|||
# Enable the OpenSSH daemon.
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
passwordAuthentication = false;
|
||||
permitRootLogin = "prohibit-password";
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
PermitRootLogin = "prohibit-password";
|
||||
X11Forwarding = true;
|
||||
};
|
||||
extraConfig = "TCPKeepAlive yes\nClientAliveInterval 30\nClientAliveCountMax 99999\nX11UseLocalhost no\nX11DisplayOffset 10\nMatch address 192.168.122.1\n\tPasswordAuthentication yes";
|
||||
forwardX11 = true;
|
||||
};
|
||||
services.acpid.enable = true;
|
||||
|
||||
environment.extraInit = "if echo \"$-\" | grep i > /dev/null; then bash /etc/motd.script; if [ -r ~/README ]; then printf '\nHello %s, there is a README file in your home directory. See the contents below:\n\n%s\n' $USER \"$(<~/README)\"; fi; if [ -r /var/tmp/poll ]; then printf '\nTHERE IS AN ONGOING POLL.\n%s\nPoll ends on %s\nPlace your vote in ~/.vote\n' \"$(</var/tmp/poll)\" \"$(date -d @$(($(stat -c %Y /var/tmp/poll)+1159300)))\"; fi; fi";
|
||||
environment.extraInit = "if echo \"$-\" | grep i > /dev/null; then bash /etc/motd.script; if [ -r ~/README ]; then printf '\nHello %s, there is a README file in your home directory. See the contents below:\n\n%s\n' $USER \"$(<~/README)\"; fi; if [ -r /var/tmp/poll ]; then printf '\nTHERE IS AN ONGOING POLL.\nTo vote, run the vote command from the pubnix.\n'; fi; fi";
|
||||
security.auditd.enable = true;
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
Welcome to ~vern!
|
||||
|
||||
[1mWe strongly recommend you putting a pgp public key in ~/.pgp.asc for account recovery purposes.[0m
|
||||
|
||||
Once you have done that, you can safely delete this file with [3mrm ~/README[0m.
|
Loading…
Reference in New Issue