diff options
author | sefidel <contact@sefidel.net> | 2023-02-20 22:18:46 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-02-20 22:18:46 +0900 |
commit | 37c2b51c814d1b8843fc69cd62d3e9ef963fa655 (patch) | |
tree | f4b606a920f54c973b1b9805647d82559c7b2ba1 /nixos/alpha | |
parent | 8070ff458e7d76142514a1edb76fe93ac8a102d4 (diff) | |
download | nixrc-37c2b51c814d1b8843fc69cd62d3e9ef963fa655.tar.gz nixrc-37c2b51c814d1b8843fc69cd62d3e9ef963fa655.zip |
feat(nixos/alpha): use avahi for printing
Diffstat (limited to 'nixos/alpha')
-rw-r--r-- | nixos/alpha/configuration.nix | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix index c0ad6fb..5b11de4 100644 --- a/nixos/alpha/configuration.nix +++ b/nixos/alpha/configuration.nix @@ -135,13 +135,9 @@ hardware.bluetooth.enable = true; 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.avahi.openFirewall = true; services.greetd = { enable = true; |