From c85e24ea2b59871ca3b0c2df75cb37163172205a Mon Sep 17 00:00:00 2001 From: Ethel Morgan Date: Wed, 1 Jul 2020 15:23:46 +0100 Subject: minor tidy of eth.services.helix-player --- nixos/modules/services/helix-player.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/services/helix-player.nix b/nixos/modules/services/helix-player.nix index 977e263..dc6120c 100644 --- a/nixos/modules/services/helix-player.nix +++ b/nixos/modules/services/helix-player.nix @@ -16,18 +16,15 @@ in { enable = mkEnableOption "Whether to enable helix-player"; socket = mkOption { - type = types.str; + type = types.path; readOnly = true; description = "Path of the UNIX socket to listen on."; - example = socket; + default = socket; }; }; config = mkIf cfg.enable { - - eth.services.helix-player.socket = socket; - systemd.services.helix-player = { enable = true; description = "Helix UPnP player & controller"; -- cgit v1.2.3