From 39ee2191a37fa8e0573cb3764d2ba40bde8cc25b Mon Sep 17 00:00:00 2001 From: Malte Tammena Date: Sun, 17 Nov 2024 15:11:42 +0100 Subject: [PATCH] fix(module/snapclient): add .lan to fix dns resolution --- modules/snapclient.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/snapclient.nix b/modules/snapclient.nix index 2180cfe..4da67d9 100644 --- a/modules/snapclient.nix +++ b/modules/snapclient.nix @@ -3,9 +3,9 @@ lib, config, ... -}: -let cfg = config.services.snapclient; in -{ +}: let + cfg = config.services.snapclient; +in { options.services.snapclient.enable = lib.mkEnableOption "a local snapclient service"; options.services.snapclient.latency = lib.mkOption { type = lib.types.number; @@ -22,8 +22,8 @@ let cfg = config.services.snapclient; in "pipewire.service" ]; serviceConfig = { - ExecStart = "${pkgs.snapcast}/bin/snapclient --host snapserver --player pulse --latency ${builtins.toString cfg.latency}"; - Slice="session.slice"; + ExecStart = "${pkgs.snapcast}/bin/snapclient --host snapserver.lan --player pulse --latency ${builtins.toString cfg.latency}"; + Slice = "session.slice"; }; }; }