commit 1593e9d1d8fe5475fa1ed3af912816cf9c1e9361
parent e5e1c7d228a9c92998f760b2bb9ed95ff86fca9f
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 13 Jul 2022 13:31:53 +0200
parent e5e1c7d228a9c92998f760b2bb9ed95ff86fca9f
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 13 Jul 2022 13:31:53 +0200
machines/lollo: add airsane
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/machines/lollo/airsane.nix b/machines/lollo/airsane.nix @@ -0,0 +1,20 @@ +{ pkgs, ... }: + +let + AirSane = pkgs.callPackage ../../pkgs/AirSane {}; + +in { + + users.users.leah.extraGroups = [ "scanner" "lp" ]; + + environment.systemPackages = [ AirSane ]; + + hardware.sane.enable = true; + services.saned.enable = true; + services.avahi = { + enable = true; + publish.enable = true; + publish.userServices = true; + }; + +}
diff --git a/machines/lollo/configuration.nix b/machines/lollo/configuration.nix @@ -21,6 +21,7 @@ ./restic-vnstat.nix ./gotosocial.nix ./scanner-sftp.nix + ./airsane.nix ]; age.secrets.restic-server-desastro.file = ../../secrets/restic-server/desastro.age;