aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMx Kookie <kookie@spacekookie.de>2020-12-25 15:48:42 +0100
committerMx Kookie <kookie@spacekookie.de>2020-12-25 15:48:42 +0100
commit2550dbda72172ffa298e359f0151d9a2c597dae4 (patch)
treef88767122673a1bd1c86b82ec49ac9287eeb166b
parent5bbf8cc19b5db380c706344840374b51bcb2be97 (diff)
libkookie: printing: add basic module
-rw-r--r--infra/libkookie/configuration/workstation/printing/default.nix10
-rw-r--r--infra/libkookie/roots/tempest.nix2
2 files changed, 11 insertions, 1 deletions
diff --git a/infra/libkookie/configuration/workstation/printing/default.nix b/infra/libkookie/configuration/workstation/printing/default.nix
new file mode 100644
index 000000000000..51a0673ff07d
--- /dev/null
+++ b/infra/libkookie/configuration/workstation/printing/default.nix
@@ -0,0 +1,10 @@
+{ ... }:
+
+{
+ services.avahi.enable = true;
+ services.printing = {
+ enable = true;
+ # TODO: fix the driver build
+ # drivers = [ pkgs.foo2zjs ];
+ };
+}
diff --git a/infra/libkookie/roots/tempest.nix b/infra/libkookie/roots/tempest.nix
index 2982832051ac..6e7ada3eb135 100644
--- a/infra/libkookie/roots/tempest.nix
+++ b/infra/libkookie/roots/tempest.nix
@@ -30,7 +30,7 @@ in
# Modules that require NixOS integration
#
<configuration/workstation/fonts>
-
+ <configuration/workstation/printing>
<configuration/workstation/xkblayout>
<configuration/workstation/yubikey>