summary refs log tree commit diff
path: root/host/Rory-portable/printing.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-11-03 00:31:17 +0100
committerRory& <root@rory.gay>2024-11-03 00:31:17 +0100
commit8aa83e2bcc11f33eedff9e19fbb32f0bcda4b53e (patch)
tree30c27129e37328e120f4618e63ae9204a67b292f /host/Rory-portable/printing.nix
parentAdd desktop changes (diff)
downloadRory-Open-Architecture-8aa83e2bcc11f33eedff9e19fbb32f0bcda4b53e.tar.xz
Portable changes, email server
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!
-}