updates / experimental TC setup

This commit is contained in:
2026-10-24 10:44:58 +02:00
parent 3c25fc5d41
commit d36b281a4d
48 changed files with 1147 additions and 718 deletions
+11 -5
View File
@@ -14,7 +14,6 @@
enable = true;
package = pkgs.espanso-wayland;
};
hypridle.enable = true;
printing.enable = true;
gvfs.enable = true;
gnome.gnome-keyring.enable = true;
@@ -30,10 +29,17 @@
avahi = {
enable = true;
nssmdns4 = true;
publish = {
addresses = true;
workstation = true;
userServices = true;
# Avahi options were migrated to the freeform `settings`
# (avahi-daemon.conf) tree in nixpkgs; `publish.userServices` was
# dropped upstream.
settings.publish = {
# master switch: defaults to true (publishing off) in the new
# settings tree — the old `publish.*` options implied publishing on.
disable-publishing = false;
publish-addresses = true;
publish-workstation = true;
# replacement for the obsolete `publish.userServices = true;`
disable-user-service-publishing = false;
};
};
asusd = {
+13 -1
View File
@@ -31,12 +31,24 @@ in {
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
ExecStartPre = ["${wait-for-printer}/bin/wait-for-printer"];
# Als ExecStart (nicht ExecStartPre!): ohne ExecStart ist die Unit
# ungueltig und systemd laedt sie gar nicht ("bad unit file setting").
ExecStart = "${wait-for-printer}/bin/wait-for-printer";
Restart = "on-failure";
RestartSec = "30s";
};
};
# CUPS erst starten, wenn der Drucker erreichbar ist (Gate via ensure-printers).
# cups-post-start fuehrt lpadmin aus und schlaegt fehl, solange NetBird beim
# Boot noch nicht steht -> Restart-Schleife -> start-limit-hit von
# cups.service und cups.socket. Ist der Drucker nicht erreichbar (unterwegs),
# startet CUPS trotzdem (Wants, kein Requires) wie bisher.
systemd.services.cups = {
wants = ["ensure-printers.service"];
after = ["ensure-printers.service"];
};
services.printing = {
enable = true;
drivers = with pkgs; [