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
|
|
@ -140,9 +140,6 @@ in {
|
||||||
boot.initrd.verbose = false;
|
boot.initrd.verbose = false;
|
||||||
boot.consoleLogLevel = 1;
|
boot.consoleLogLevel = 1;
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
|
||||||
services.printing.enable = true;
|
|
||||||
|
|
||||||
# Enable sound.
|
# Enable sound.
|
||||||
sound.enable = false;
|
sound.enable = false;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
|
|
|
||||||
13
services.nix
13
services.nix
|
|
@ -59,7 +59,18 @@ in {
|
||||||
|
|
||||||
services.irqbalance.enable = true;
|
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;
|
services.fwupd.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue