diff --git a/hosts/common/optional/nixos-containers/metrics-server.nix b/hosts/common/optional/nixos-containers/metrics-server.nix index 5a0a35d..ea396c1 100644 --- a/hosts/common/optional/nixos-containers/metrics-server.nix +++ b/hosts/common/optional/nixos-containers/metrics-server.nix @@ -35,17 +35,6 @@ in { containers."${containerName}" = { enableTun = true; - - # # configuration to run docker/podman in systemd-nspawn container - # # https://discourse.nixos.org/t/podman-docker-in-nixos-container-ideally-in-unprivileged-one/22909/12 - # additionalCapabilities = [ - # ''all" --system-call-filter="add_key keyctl bpf" --capability="all'' - # ]; - # extraFlags = ["--private-users-ownership=chown"]; - # allowedDevices = [ - # ]; - # ###### - autoStart = true; privateNetwork = true; hostBridge = "br0"; diff --git a/hosts/semita/default.nix b/hosts/semita/default.nix index e52207d..ead317b 100644 --- a/hosts/semita/default.nix +++ b/hosts/semita/default.nix @@ -67,6 +67,7 @@ in { ../common/optional/nixos-containers/backup-server.nix ../common/optional/nixos-containers/docker.nix # ../common/optional/nixos-containers/pihole.nix + ../common/optional/nixos-containers/metrics-server.nix # # Build nix derivations on remote machine # ../common/optional/distributed-builds/local-machine.nix