about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-01 16:17:45 +0900
committersefidel <contact@sefidel.net>2023-09-01 16:18:04 +0900
commit2de7210c3a1a0cf1ed9cd5055ac4388f5552bae7 (patch)
tree4dabd9e0c71f24a646ab414177da5718563832d3 /nixos
parentfcdb26c1386f095677617ff86b755abc65c598d1 (diff)
downloadnixrc-2de7210c3a1a0cf1ed9cd5055ac4388f5552bae7.tar.gz
nixrc-2de7210c3a1a0cf1ed9cd5055ac4388f5552bae7.zip
feat(nixos/alpha)!: use printer via wlan
Diffstat (limited to 'nixos')
-rw-r--r--nixos/alpha/configuration.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index a0f2e11..5346f55 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -178,13 +178,8 @@
   '';
 
   services.printing.enable = true;
-  services.printing.drivers = [ pkgs.gutenprint pkgs.samsung-unified-linux-driver pkgs.brgenml1lpr pkgs.brgenml1cupswrapper ];
-
-  nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem
-    (lib.getName pkg) [
-    "samsung-UnifiedLinuxDriver"
-    "brgenml1lpr"
-  ];
+  services.avahi.enable = true;
+  services.avahi.nssmdns = true;
 
   services.pcscd.enable = true;