fix(module/snapclient): add .lan to fix dns resolution
This commit is contained in:
parent
0bc28f8578
commit
39ee2191a3
|
@ -3,9 +3,9 @@
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}: let
|
||||||
let cfg = config.services.snapclient; in
|
cfg = config.services.snapclient;
|
||||||
{
|
in {
|
||||||
options.services.snapclient.enable = lib.mkEnableOption "a local snapclient service";
|
options.services.snapclient.enable = lib.mkEnableOption "a local snapclient service";
|
||||||
options.services.snapclient.latency = lib.mkOption {
|
options.services.snapclient.latency = lib.mkOption {
|
||||||
type = lib.types.number;
|
type = lib.types.number;
|
||||||
|
@ -22,7 +22,7 @@ let cfg = config.services.snapclient; in
|
||||||
"pipewire.service"
|
"pipewire.service"
|
||||||
];
|
];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.snapcast}/bin/snapclient --host snapserver --player pulse --latency ${builtins.toString cfg.latency}";
|
ExecStart = "${pkgs.snapcast}/bin/snapclient --host snapserver.lan --player pulse --latency ${builtins.toString cfg.latency}";
|
||||||
Slice = "session.slice";
|
Slice = "session.slice";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue