Add host printer configs and refactor printing

Add printers.nix for Garand‑Desktop, Garand‑Laptop, and default hosts
with
printer definitions and a printEnable flag. Disable NFS by default in
the
host variables. Rewrite modules/core/printing.nix to import printer
settings, enable services only when printing is enabled, and add more
CUPS/Avahi options plus hardware.printers configuration. Add the lpadmin
group to the main user. Update the Messenger desktop entry URL to the
Facebook Messages page.
This commit is contained in:
2026-05-07 15:05:11 +02:00
parent 79769e4dc5
commit 2c2d54a4a7
9 changed files with 85 additions and 18 deletions
+14
View File
@@ -0,0 +1,14 @@
{
printEnable = true;
ensureDefaultPrinter = "Brother-T525W";
ensurePrinters = [
{
deviceUri = "ipp://192.168.1.110/ipp";
location = "home";
name = "Brother-T525W";
model = "everywhere";
}
];
}
+1 -4
View File
@@ -33,10 +33,7 @@
nvidiaID = "PCI:0:2:0";
# Enable NFS
enableNFS = true;
# Enable Printing Support
printEnable = false;
enableNFS = false;
# Set Stylix Image
# This will set your color palette