mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 16:20:42 +00:00
Add support for hplip (HP printers)
This commit is contained in:
parent
8dd2a143ac
commit
bb1915e3dd
3 changed files with 12 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
{ pkgs, lib, config, ...}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (lib) mkIf optional;
|
||||
deviceType = config.myOptions.device.roles.type;
|
||||
acceptedTypes = ["laptop" "desktop"];
|
||||
|
||||
|
@ -26,5 +26,8 @@ in {
|
|||
openFirewall = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = optional cfg.hplip.enable pkgs.hplip;
|
||||
myOptions.system.impermanence.home.extraDirectories = optional cfg.hplip.enable ".hplip";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue