mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Service] Add scanner support
This commit is contained in:
parent
fb7a18db3e
commit
3afeb9eab0
1 changed files with 9 additions and 0 deletions
|
|
@ -70,6 +70,15 @@ in {
|
|||
];
|
||||
webInterface = mkDefault false;
|
||||
};
|
||||
|
||||
hardware.sane = mkIf desktopCfg.enable {
|
||||
enable = true;
|
||||
netConf = "192.168.0.0/24";
|
||||
extraBackends = with pkgs; [
|
||||
hplipWithPlugin
|
||||
];
|
||||
};
|
||||
|
||||
aviallon.programs.allowUnfreeList = [ "hplip" "hplipWithPlugin" ];
|
||||
|
||||
services.fwupd.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue