Add postgres, fix hedgedoc, various cleanups

This commit is contained in:
2023-05-03 17:49:50 +02:00
parent 9e64e2dd1f
commit 8386bcad09
5 changed files with 54 additions and 16 deletions

View File

@@ -18,16 +18,6 @@
keyMap = "no";
};
system.autoUpgrade = {
enable = true;
flake = "github:felixalbrigtsen/nixos-server-conf";
flags = [
"--update-input" "nixpkgs"
"--update-input" "unstable"
"--no-write-lock-file"
];
};
nix = {
gc = {
automatic = true;
@@ -56,6 +46,13 @@
enable = true;
permitRootLogin = "no";
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
extraConfig = ''
AllowTcpForwarding yes
X11Forwarding no
AllowAgentForwarding yes
AuthenticationMethods publickey
'';
};
users.users.felixalb = {