From f0b572c6ed257010d7155ae698dc207a904d83a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Gro=C3=9Fmann?= Date: Mon, 18 Dec 2023 02:11:24 +0100 Subject: [PATCH] feat: more nextcloud/container config --- flake.nix | 3 +- hosts/desktopnix/default.nix | 1 + .../nextcloud/generated/dhparams.pem.age | Bin 0 -> 1331 bytes lib/containers.nix | 25 ++++++++---- modules/config/boot.nix | 2 +- modules/config/impermanence/default.nix | 38 +++++++----------- modules/config/system.nix | 2 - modules/config/users.nix | 2 + modules/hardware/bluetooth.nix | 3 ++ modules/services/acme.nix | 8 ++++ modules/services/containers.nix | 2 +- modules/services/nextcloud.nix | 23 ++++++----- nix/hosts.nix | 7 ++-- 13 files changed, 67 insertions(+), 49 deletions(-) create mode 100644 hosts/testienix/secrets/guests/nextcloud/generated/dhparams.pem.age diff --git a/flake.nix b/flake.nix index 485b432..e3d94ae 100644 --- a/flake.nix +++ b/flake.nix @@ -124,8 +124,9 @@ hosts nixosConfigurations minimalConfigurations + guestConfigurations ; - nodes = self.nixosConfigurations; + nodes = self.nixosConfigurations // self.guestConfigurations; inherit (lib.foldl' lib.recursiveUpdate {} diff --git a/hosts/desktopnix/default.nix b/hosts/desktopnix/default.nix index f985a45..7e38c8b 100644 --- a/hosts/desktopnix/default.nix +++ b/hosts/desktopnix/default.nix @@ -50,4 +50,5 @@ system.activationScripts.decryptKey.text = '' ln -f -s ${../../keys/PatC.key} /run/decrypt.key.pub ''; + boot.binfmt.emulatedSystems = ["aarch64-linux"]; } diff --git a/hosts/testienix/secrets/guests/nextcloud/generated/dhparams.pem.age b/hosts/testienix/secrets/guests/nextcloud/generated/dhparams.pem.age new file mode 100644 index 0000000000000000000000000000000000000000..1e96e67f08932fd6aeaeee076e1b37eaf869cb0d GIT binary patch literal 1331 zcmZwA`B%~h008jvr6tR>tSp;K`m&Uv9D*{_jZ-cK6$DI7?k^yxz!%UwvsX(ywAQlL zvQqP5tvu>Aon6+ZGjdb%%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