diff options
author | sefidel <contact@sefidel.net> | 2023-09-01 16:17:45 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-09-01 16:18:04 +0900 |
commit | 2de7210c3a1a0cf1ed9cd5055ac4388f5552bae7 (patch) | |
tree | 4dabd9e0c71f24a646ab414177da5718563832d3 | |
parent | fcdb26c1386f095677617ff86b755abc65c598d1 (diff) | |
download | nixrc-2de7210c3a1a0cf1ed9cd5055ac4388f5552bae7.tar.gz nixrc-2de7210c3a1a0cf1ed9cd5055ac4388f5552bae7.zip |
feat(nixos/alpha)!: use printer via wlan
-rw-r--r-- | nixos/alpha/configuration.nix | 9 |
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; |