NixOS Containers: Difference between revisions
imported>Dafitt No edit summary |
imported>Brainwater Fix missing lib import to allow using mkForce |
||
Line 23: | Line 23: | ||
hostAddress6 = "fc00::1"; | hostAddress6 = "fc00::1"; | ||
localAddress6 = "fc00::2"; | localAddress6 = "fc00::2"; | ||
config = { config, pkgs, ... }: { | config = { config, pkgs, lib, ... }: { | ||
services.nextcloud = { | services.nextcloud = { | ||
Line 41: | Line 41: | ||
# Use systemd-resolved inside the container | # Use systemd-resolved inside the container | ||
# Workaround for bug https://github.com/NixOS/nixpkgs/issues/162686 | # Workaround for bug https://github.com/NixOS/nixpkgs/issues/162686 | ||
useHostResolvConf = mkForce false; | useHostResolvConf = lib.mkForce false; | ||
}; | }; | ||