summaryrefslogtreecommitdiff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorEthel Morgan <eth@ethulhu.co.uk>2020-07-01 15:23:46 +0100
committerEthel Morgan <eth@ethulhu.co.uk>2020-07-01 15:23:46 +0100
commitc85e24ea2b59871ca3b0c2df75cb37163172205a (patch)
treea7ad840275db252022b39ab5a646160f54e034c1 /nixos/modules/services
parent9dd6c61f91a58b125fb9cb1806211cff19157dca (diff)
minor tidy of eth.services.helix-player
Diffstat (limited to 'nixos/modules/services')
-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";