fix(module/snapclient): add .lan to fix dns resolution

This commit is contained in:
Malte Tammena 2024-11-17 15:11:42 +01:00
parent 0bc28f8578
commit 39ee2191a3

View file

@ -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";
};
};
}