home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 7743e8b1badaf02813b856419e96b9067e6176bd
parent 08b91284ba52a93047212f5ca9b7fe8ef1a66209
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Sun, 25 Aug 2024 15:56:07 +0200

systems/wakasu: trying to make printing and scan working

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/hosts/wakasu.nix | 15+++++++++++++++
Msystems/modules/services/avahi.nix | 1+
2 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/systems/hosts/wakasu.nix b/systems/hosts/wakasu.nix @@ -69,6 +69,21 @@ in }; hardware.sensor.iio.enable = true; + hardware.sane = { + enable = true; + extraBackends = [ pkgs.sane-airscan ]; + }; + services.printing.enable = true; + services.printing.drivers = [ + pkgs.gutenprint + pkgs.gutenprintBin + pkgs.canon-capt + pkgs.canon-cups-ufr2 + pkgs.cups-bjnp + pkgs.carps-cups + pkgs.cnijfilter2 + ]; + services.udev.packages = [ pkgs.sane-airscan ]; services.udev.extraRules = '' # STM32 rules for the Moonlander and Planck EZ SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", \ diff --git a/systems/modules/services/avahi.nix b/systems/modules/services/avahi.nix @@ -23,6 +23,7 @@ in enable = true; userServices = true; }; + openFirewall = true; } // (if stable then { nssmdns = true;