diff options
author | sefidel <contact@sefidel.net> | 2023-04-11 00:18:44 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-04-11 00:18:44 +0900 |
commit | 0e605320e5454e19c0d1255f642ea5ff71b2ab69 (patch) | |
tree | 5e0ca52bc52676c9a63b4e59b5fdbe354ae7d21a /nixos/alpha | |
parent | 77d4903f820e244f430dc3a638dcb7300f858892 (diff) | |
download | nixrc-0e605320e5454e19c0d1255f642ea5ff71b2ab69.tar.gz nixrc-0e605320e5454e19c0d1255f642ea5ff71b2ab69.zip |
Revert "feat(nixos/alpha): use avahi for printing"
This reverts commit 37c2b51c814d1b8843fc69cd62d3e9ef963fa655.
Diffstat (limited to 'nixos/alpha')
-rw-r--r-- | nixos/alpha/configuration.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix index 3b0a000..32babda 100644 --- a/nixos/alpha/configuration.nix +++ b/nixos/alpha/configuration.nix @@ -134,9 +134,13 @@ hardware.bluetooth.enable = true; services.printing.enable = true; - services.avahi.enable = true; - services.avahi.nssmdns = true; - services.avahi.openFirewall = 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.pcscd.enable = true; |