From a4f2b06d1e16ffcbdb2a9ce95dda0c7b5efcc88c Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Thu, 11 Apr 2024 13:44:52 +0200 Subject: [PATCH] migrate nextcloud to orbi --- nixos/machines/chungus/rbackup.nix | 2 +- nixos/machines/orbi/configuration.nix | 2 +- nixos/machines/orbi/{nextcloud.nix => media-nextcloud.nix} | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) rename nixos/machines/orbi/{nextcloud.nix => media-nextcloud.nix} (99%) diff --git a/nixos/machines/chungus/rbackup.nix b/nixos/machines/chungus/rbackup.nix index 524af50..259b8b1 100644 --- a/nixos/machines/chungus/rbackup.nix +++ b/nixos/machines/chungus/rbackup.nix @@ -5,7 +5,7 @@ rbackup.plans = { nextcloud = { sshKeyPath = config.sops.secrets.rsync_private_key.path; - src = "root@robi:/var/lib/nextcloud/"; + src = "root@orbi:/var/lib/nixos-containers/nextcloud"; dst = "/mirror/nextcloud"; }; taskwarrior = { diff --git a/nixos/machines/orbi/configuration.nix b/nixos/machines/orbi/configuration.nix index 5d337a9..ec7f61f 100644 --- a/nixos/machines/orbi/configuration.nix +++ b/nixos/machines/orbi/configuration.nix @@ -13,7 +13,6 @@ #./borg.nix #./codimd.nix #./gitea.nix - ./nextcloud.nix #./packages.nix #./taskserver.nix #./vaultwarden.nix @@ -29,6 +28,7 @@ #./media-transmission.nix ./media-transmission2.nix ./media-arr.nix + ./media-nextcloud.nix #./sync-opentracker.nix #./sync-torrent.nix diff --git a/nixos/machines/orbi/nextcloud.nix b/nixos/machines/orbi/media-nextcloud.nix similarity index 99% rename from nixos/machines/orbi/nextcloud.nix rename to nixos/machines/orbi/media-nextcloud.nix index 0582c18..80b7fda 100644 --- a/nixos/machines/orbi/nextcloud.nix +++ b/nixos/machines/orbi/media-nextcloud.nix @@ -118,6 +118,7 @@ in #environment.etc."resolv.conf".text = "nameserver 8.8.8.8"; system.stateVersion = "23.11"; + #system.stateVersion = "21.05"; users.users.nextcloud.uid = nextcloudUid;