diff options
Diffstat (limited to 'host/Rory-nginx/services/containers/draupnir-cme')
-rwxr-xr-x | host/Rory-nginx/services/containers/draupnir-cme/container.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/host/Rory-nginx/services/containers/draupnir-cme/container.nix b/host/Rory-nginx/services/containers/draupnir-cme/container.nix index 84bacc0..1f72a05 100755 --- a/host/Rory-nginx/services/containers/draupnir-cme/container.nix +++ b/host/Rory-nginx/services/containers/draupnir-cme/container.nix @@ -1,6 +1,7 @@ { pkgs, lib, + nixpkgs-Draupnir, ... }: @@ -8,6 +9,7 @@ privateNetwork = true; autoStart = true; specialArgs = { + inherit nixpkgs-Draupnir; }; config = { @@ -16,7 +18,15 @@ ... }: { - imports = [ ./root.nix ]; + imports = [ + ./root.nix + "${nixpkgs-Draupnir}/nixos/modules/services/matrix/draupnir.nix" + ]; + nixpkgs.overlays = [ + (final: prev: { + draupnir = nixpkgs-Draupnir.legacyPackages.${pkgs.stdenv.hostPlatform.system}.draupnir; + }) + ]; }; hostAddress = "192.168.100.16"; localAddress = "192.168.100.17"; |