diff options
-rw-r--r-- | system/services/default.nix | 13 | ||||
-rw-r--r-- | system/services/printing/default.nix | 4 | ||||
-rw-r--r-- | system/services/scanning/default.nix | 9 |
3 files changed, 16 insertions, 10 deletions
diff --git a/system/services/default.nix b/system/services/default.nix index 514ff604..d7505293 100644 --- a/system/services/default.nix +++ b/system/services/default.nix @@ -1,13 +1,14 @@ -{config, ...}: { +{...}: { imports = [ - ./printing + ./backup + ./dconf ./nix + ./openssh + ./printing + ./scanning ./snapper ./steam - ./dconf - ./openssh - ./backup - ./xdg ./swaylock + ./xdg ]; } diff --git a/system/services/printing/default.nix b/system/services/printing/default.nix index d5b45658..8cfbdc72 100644 --- a/system/services/printing/default.nix +++ b/system/services/printing/default.nix @@ -12,10 +12,6 @@ drivers = []; }; hardware = { - sane = { - enable = true; - extraBackends = [pkgs.sane-airscan]; - }; printers = { ensurePrinters = [ { diff --git a/system/services/scanning/default.nix b/system/services/scanning/default.nix new file mode 100644 index 00000000..b132e915 --- /dev/null +++ b/system/services/scanning/default.nix @@ -0,0 +1,9 @@ +# vim: ts=2 +{pkgs, ...}: { + hardware = { + sane = { + enable = true; + extraBackends = [pkgs.sane-airscan]; + }; + }; +} |