diff options
Diffstat (limited to 'hosts/by-name/server2/configuration.nix')
-rw-r--r-- | hosts/by-name/server2/configuration.nix | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/hosts/by-name/server2/configuration.nix b/hosts/by-name/server2/configuration.nix index 571a235..07b78c3 100644 --- a/hosts/by-name/server2/configuration.nix +++ b/hosts/by-name/server2/configuration.nix @@ -8,7 +8,7 @@ back = { enable = true; repositories = { - "${config.services.gitolite.dataDir}/vhack.eu/nixos-server.git" = { + "${config.services.gitolite.dataDir}/repositories/vhack.eu/nixos-server.git" = { domain = "issues.foss-syndicate.org"; port = 9220; }; @@ -20,9 +20,19 @@ domain = "git.foss-syndicate.org"; gitolite.adminPubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIME4ZVa+IoZf6T3U08JG93i6QIAJ4amm7mkBzO14JSkz cardno:000F_18F83532"; }; - nginx.enable = true; + nginx = { + enable = true; + redirects = { + "source.foss-syndicate.org" = "https://git.foss-syndicate.org/vhack.eu/nixos-server"; + }; + }; openssh.enable = true; - persist.enable = true; + persist = { + enable = true; + directories = [ + "/var/log" + ]; + }; rust-motd.enable = true; users.enable = true; }; |