no more avahi publish
This commit is contained in:
parent
c8b94bc9fe
commit
0b973d8ce5
5 changed files with 5 additions and 26 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./ezvahi.nix
|
||||
./ezwg.nix
|
||||
./kiosk.nix
|
||||
./ezpassthru.nix
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
|
@ -20,6 +20,11 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns = true;
|
||||
};
|
||||
|
||||
services.ezpw.enable = lib.mkDefault true;
|
||||
|
||||
security.pam.services = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue