summary refs log tree commit diff
path: root/host/Rory-portable/printing.nix
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-portable/printing.nix')
-rw-r--r--host/Rory-portable/printing.nix56
1 files changed, 0 insertions, 56 deletions
diff --git a/host/Rory-portable/printing.nix b/host/Rory-portable/printing.nix
deleted file mode 100644
index f25580f..0000000
--- a/host/Rory-portable/printing.nix
+++ /dev/null
@@ -1,56 +0,0 @@
-{ pkgs, ... }:
-
-{
-  imports = [ ];
-
-  users.users = {
-    Rory = {
-      extraGroups = [
-        "lp"
-        "scanner"
-      ];
-    };
-  };
-
-  environment.systemPackages = with pkgs; [
-    xsane
-    gnome.simple-scan
-  ];
-
-  hardware = {
-    sane.enable = true;
-    sane.extraBackends = [
-      pkgs.hplipWithPlugin
-      pkgs.sane-airscan
-    ];
-  };
-
-  programs.system-config-printer.enable = true;
-
-  services = {
-    gvfs.enable = true;
-    saned.enable = true;
-    system-config-printer.enable = true;
-    ipp-usb.enable = true;
-    printing = {
-      enable = true;
-      browsing = true;
-      drivers = with pkgs; [ hplip ];
-    };
-    avahi = {
-      enable = true;
-      nssmdns = true;
-      reflector = true;
-      publish = {
-        workstation = true;
-        userServices = true;
-        hinfo = true;
-        enable = true;
-        domain = true;
-        addresses = true;
-      };
-    };
-  };
-
-  system.stateVersion = "22.11"; # DO NOT EDIT!
-}