revise printer system
This commit is contained in:
parent
c931808bf5
commit
fcfaa79f52
3 changed files with 25 additions and 12 deletions
|
|
@ -55,5 +55,6 @@
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
remmina
|
remmina
|
||||||
|
chromium
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -173,18 +173,6 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable CUPS for printing
|
|
||||||
services.printing = {
|
|
||||||
enable = true;
|
|
||||||
drivers = with pkgs; [
|
|
||||||
cups-filters
|
|
||||||
gutenprint
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Printer management GUI
|
|
||||||
programs.system-config-printer.enable = true;
|
|
||||||
|
|
||||||
# Host-specific SSH configuration
|
# Host-specific SSH configuration
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
||||||
|
|
@ -82,5 +82,29 @@ in
|
||||||
nwg-displays
|
nwg-displays
|
||||||
swaynotificationcenter
|
swaynotificationcenter
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Printing with Windows Samba printer support
|
||||||
|
services.printing = {
|
||||||
|
enable = true;
|
||||||
|
browsing = true;
|
||||||
|
drivers = with pkgs; [
|
||||||
|
cups-filters
|
||||||
|
gutenprint
|
||||||
|
samba # SMB backend for Windows printers
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# Samba for SMB printer protocol
|
||||||
|
services.samba.enable = true;
|
||||||
|
|
||||||
|
# Avahi for network printer discovery
|
||||||
|
services.avahi = {
|
||||||
|
enable = true;
|
||||||
|
nssmdns4 = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# Printer management GUI
|
||||||
|
programs.system-config-printer.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue