mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
avahi and just use docker on Parzival
This commit is contained in:
parent
a918eff7be
commit
a14261ebb7
3 changed files with 12 additions and 19 deletions
10
hosts/common/core/avahi.nix
Normal file
10
hosts/common/core/avahi.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{lib, ...}: {
|
||||||
|
services.avahi = lib.mkDefault {
|
||||||
|
enable = true;
|
||||||
|
nssmdns4 = true;
|
||||||
|
publish = {
|
||||||
|
enable = true;
|
||||||
|
domain = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -28,6 +28,7 @@ in {
|
||||||
"hosts/common/core/fonts.nix"
|
"hosts/common/core/fonts.nix"
|
||||||
"hosts/common/core/sudo.nix"
|
"hosts/common/core/sudo.nix"
|
||||||
"hosts/common/core/nebula.nix"
|
"hosts/common/core/nebula.nix"
|
||||||
|
"hosts/common/core/avahi.nix"
|
||||||
"hosts/common/core/dns.nix"
|
"hosts/common/core/dns.nix"
|
||||||
"hosts/common/users/primary"
|
"hosts/common/users/primary"
|
||||||
"hosts/common/users/primary/${platform}.nix"
|
"hosts/common/users/primary/${platform}.nix"
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@
|
||||||
"hosts/common/optional/gaming.nix"
|
"hosts/common/optional/gaming.nix"
|
||||||
"hosts/common/optional/vbox.nix"
|
"hosts/common/optional/vbox.nix"
|
||||||
"hosts/common/optional/printing.nix"
|
"hosts/common/optional/printing.nix"
|
||||||
|
"hosts/common/optional/docker.nix"
|
||||||
"modules/services/ollama"
|
"modules/services/ollama"
|
||||||
])
|
])
|
||||||
];
|
];
|
||||||
|
|
@ -48,25 +49,6 @@
|
||||||
persistFolder = "/persist";
|
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 = {
|
networking = {
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
enableIPv6 = false;
|
enableIPv6 = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue