avahi and just use docker on Parzival

This commit is contained in:
TheWanderingCrow 2025-09-02 09:22:02 -04:00
parent a918eff7be
commit a14261ebb7
3 changed files with 12 additions and 19 deletions

View file

@ -0,0 +1,10 @@
{lib, ...}: {
services.avahi = lib.mkDefault {
enable = true;
nssmdns4 = true;
publish = {
enable = true;
domain = true;
};
};
}

View file

@ -28,6 +28,7 @@ in {
"hosts/common/core/fonts.nix"
"hosts/common/core/sudo.nix"
"hosts/common/core/nebula.nix"
"hosts/common/core/avahi.nix"
"hosts/common/core/dns.nix"
"hosts/common/users/primary"
"hosts/common/users/primary/${platform}.nix"

View file

@ -37,6 +37,7 @@
"hosts/common/optional/gaming.nix"
"hosts/common/optional/vbox.nix"
"hosts/common/optional/printing.nix"
"hosts/common/optional/docker.nix"
"modules/services/ollama"
])
];
@ -48,25 +49,6 @@
persistFolder = "/persist";
};
specialisation = {
podman = {
inheritParentConfig = true;
configuration = let
podman = lib.custom.relativeToRoot "hosts/common/optional/podman.nix";
in {
imports = [podman];
};
};
docker = {
inheritParentConfig = true;
configuration = let
docker = lib.custom.relativeToRoot "hosts/common/optional/docker.nix";
in {
imports = [docker];
};
};
};
networking = {
networkmanager.enable = true;
enableIPv6 = false;