[Services] Improve printing support

This commit is contained in:
Antoine Viallon 2022-03-02 20:55:24 +01:00
parent 24d945b8e9
commit 4915bff563
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
2 changed files with 12 additions and 4 deletions

View file

@ -140,9 +140,6 @@ in {
boot.initrd.verbose = false;
boot.consoleLogLevel = 1;
# Enable CUPS to print documents.
services.printing.enable = true;
# Enable sound.
sound.enable = false;
services.pipewire = {

View file

@ -59,7 +59,18 @@ in {
services.irqbalance.enable = true;
services.printing.enable = desktopCfg.enable;
services.printing = mkIf desktopCfg.enable {
enable = true;
defaultShared = mkDefault true;
browsing = mkDefault true;
drivers = with pkgs; [
hplipWithPlugin
gutenprint
splix
];
webInterface = mkDefault false;
};
aviallon.programs.allowUnfreeList = [ "hplip" "hplipWithPlugin" ];
services.fwupd.enable = true;