summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/helix-player.nix7
1 files changed, 2 insertions, 5 deletions
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";