summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hosts/thinklappi/default.nix6
-rw-r--r--sys/services/default.nix1
-rw-r--r--sys/services/printing/default.nix9
3 files changed, 10 insertions, 6 deletions
diff --git a/hosts/thinklappi/default.nix b/hosts/thinklappi/default.nix
index e8b9d2b..bd9e1e3 100644
--- a/hosts/thinklappi/default.nix
+++ b/hosts/thinklappi/default.nix
@@ -9,12 +9,6 @@
   ];
 
   services = {
-    printing.enable = true;
-    avahi = {
-      enable = true;
-      #nssmdns = true;
-      openFirewall = true;
-    };
     xserver = {
       layout = "de";
       xkbOptions = "grp:win_space_toggle";
diff --git a/sys/services/default.nix b/sys/services/default.nix
index 5a7a351..15e4299 100644
--- a/sys/services/default.nix
+++ b/sys/services/default.nix
@@ -2,5 +2,6 @@
   imports = [
     ./fwupd
     ./logind
+    ./printing
   ];
 }
diff --git a/sys/services/printing/default.nix b/sys/services/printing/default.nix
new file mode 100644
index 0000000..2bdcf7a
--- /dev/null
+++ b/sys/services/printing/default.nix
@@ -0,0 +1,9 @@
+{...}: {
+  services = {
+    printing.enable = true;
+    avahi = {
+      enable = true;
+      openFirewall = true;
+    };
+  };
+}