add and enable avahi

This commit is contained in:
Lillian Violet 2024-12-01 01:40:11 +01:00
parent db3d17f176
commit ba59542e97
2 changed files with 24 additions and 0 deletions

View file

@ -170,6 +170,18 @@
dockerCompat = true; 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.enable = true;
security.tpm2.pkcs11.enable = true; # expose /run/current-system/sw/lib/libtpm2_pkcs11.so 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 security.tpm2.tctiEnvironment.enable = true; # TPM2TOOLS_TCTI and TPM2_PKCS11_TCTI env variables

View file

@ -124,6 +124,18 @@
services.desktopManager.plasma6.enable = true; services.desktopManager.plasma6.enable = true;
programs.kdeconnect.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.defaultSession = "plasma";
services.displayManager.sddm.wayland.enable = lib.mkForce true; services.displayManager.sddm.wayland.enable = lib.mkForce true;
services.displayManager.sddm.settings = { services.displayManager.sddm.settings = {