diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2021-05-16 09:58:54 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2021-05-16 10:06:48 -0400 |
commit | 7e51e9faeb4f7ae23e3bcd0da900a31d7378529a (patch) | |
tree | a1d1fcf5104e8753cf7ebd54b6a66a8eb9e8f2e2 | |
parent | 98198fde4124182bbbdea4788c86a022656db65c (diff) |
Add nextcloud
-rw-r--r-- | machines/firelink.nix | 1 | ||||
-rw-r--r-- | modules/common.nix | 3 | ||||
-rw-r--r-- | modules/nextcloud.nix | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/machines/firelink.nix b/machines/firelink.nix index 31ff9ed..1950a30 100644 --- a/machines/firelink.nix +++ b/machines/firelink.nix @@ -24,6 +24,7 @@ in { orbekk.gaming.enable = true; orbekk.desktop.enable = true; + orbekk.builder.enableRemoteBuilds = true; orbekk.simple-firewall.allowedTCPPorts = [ diff --git a/modules/common.nix b/modules/common.nix index b05463a..fc99648 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -72,8 +72,7 @@ services = { postgresql = { - dataDir = "/var/db/postgresql"; - package = pkgs.postgresql95; + package = pkgs.postgresql_12; }; openssh.passwordAuthentication = false; openssh.challengeResponseAuthentication = false; diff --git a/modules/nextcloud.nix b/modules/nextcloud.nix index 4e16a35..39f3a75 100644 --- a/modules/nextcloud.nix +++ b/modules/nextcloud.nix @@ -12,6 +12,7 @@ in config = lib.mkIf cfg.enable { services.nextcloud = { enable = true; + package = pkgs.nextcloud21; hostName = "localhost"; config = { dbtype = "pgsql"; @@ -21,7 +22,7 @@ in adminpassFile = "/opt/secret/nextcloud/admin-pass-file"; adminuser = "root"; }; - autoUpdateApps = true; + autoUpdateApps.enable = true; }; services.postgresql = { |