From eff1dc6da64a91d5664fe0276d4123cc0b1df6ae Mon Sep 17 00:00:00 2001 From: sils Date: Sun, 2 Jul 2023 10:20:53 +0200 Subject: Fix(sys): Yank printing out of host --- hosts/thinklappi/default.nix | 6 ------ sys/services/default.nix | 1 + sys/services/printing/default.nix | 9 +++++++++ 3 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 sys/services/printing/default.nix 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; + }; + }; +} -- cgit 1.4.1