no more avahi publish

This commit is contained in:
notgne2 2021-09-26 14:51:38 -07:00
parent c8b94bc9fe
commit 0b973d8ce5
No known key found for this signature in database
GPG key ID: BB661E172B42A7F8
5 changed files with 5 additions and 26 deletions

View file

@ -2,7 +2,6 @@
{
imports = [
./ezvahi.nix
./ezwg.nix
./kiosk.nix
./ezpassthru.nix

View file

@ -1,22 +0,0 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.ezvahi;
in
{
options.services.ezvahi.enable = mkEnableOption "Enable simple Avahi config";
config = mkIf cfg.enable {
services.avahi = {
enable = true;
nssmdns = true;
publish = {
enable = true;
addresses = true;
domain = true;
workstation = true;
userServices = true;
};
};
};
}

View file

@ -9,8 +9,6 @@ in
options.fuckingprint.enable = mkEnableOption "Make my fucking printer work";
config = mkIf cfg.enable {
services.ezvahi.enable = lib.mkDefault true;
# Enable CUPS and SANE for printing and scanning
services.printing.enable = true;
services.printing.browsing = true;

View file

@ -20,6 +20,11 @@ in
};
config = mkIf cfg.enable {
services.avahi = {
enable = true;
nssmdns = true;
};
services.ezpw.enable = lib.mkDefault true;
security.pam.services = {