diff --git a/nixos/desktop/default.nix b/nixos/desktop/default.nix index efdae88..eec7786 100644 --- a/nixos/desktop/default.nix +++ b/nixos/desktop/default.nix @@ -170,6 +170,18 @@ dockerCompat = true; }; + services.avahi = { + nssmdns = true; + enable = true; + ipv4 = true; + ipv6 = true; + publish = { + enable = true; + addresses = true; + workstation = true; + }; + }; + security.tpm2.enable = true; security.tpm2.pkcs11.enable = true; # expose /run/current-system/sw/lib/libtpm2_pkcs11.so security.tpm2.tctiEnvironment.enable = true; # TPM2TOOLS_TCTI and TPM2_PKCS11_TCTI env variables diff --git a/nixos/hosts/shodan/configuration.nix b/nixos/hosts/shodan/configuration.nix index f89c6a6..d6c4998 100644 --- a/nixos/hosts/shodan/configuration.nix +++ b/nixos/hosts/shodan/configuration.nix @@ -124,6 +124,18 @@ services.desktopManager.plasma6.enable = true; programs.kdeconnect.enable = true; + services.avahi = { + nssmdns = true; + enable = true; + ipv4 = true; + ipv6 = true; + publish = { + enable = true; + addresses = true; + workstation = true; + }; + }; + services.displayManager.defaultSession = "plasma"; services.displayManager.sddm.wayland.enable = lib.mkForce true; services.displayManager.sddm.settings = {