mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Services] Improve printing support
This commit is contained in:
parent
24d945b8e9
commit
4915bff563
2 changed files with 12 additions and 4 deletions
13
services.nix
13
services.nix
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue