summaryrefslogtreecommitdiff
path: root/nixos/modules/services/catbus-wakeonlan.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nixos/modules/services/catbus-wakeonlan.nix (renamed from nixos/modules/services/catbus-actuator-wakeonlan.nix)6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/catbus-actuator-wakeonlan.nix b/nixos/modules/services/catbus-wakeonlan.nix
index c78f974..0cf7edb 100644
--- a/nixos/modules/services/catbus-actuator-wakeonlan.nix
+++ b/nixos/modules/services/catbus-wakeonlan.nix
@@ -3,7 +3,7 @@ with lib;
let
- cfg = config.eth.services.catbus-actuator-wakeonlan;
+ cfg = config.eth.services.catbus-wakeonlan;
configJSON = pkgs.writeText "config.json" (builtins.toJSON {
mqttBroker = cfg.mqttBroker;
@@ -12,7 +12,7 @@ let
in {
- options.eth.services.catbus-actuator-wakeonlan = {
+ options.eth.services.catbus-wakeonlan = {
enable = mkEnableOption "Whether to enable the Catbus Wake-On-LAN actuator";
@@ -44,7 +44,7 @@ in {
config = mkIf cfg.enable {
- systemd.services.catbus-actuator-wakeonlan = {
+ systemd.services.catbus-wakeonlan-actuator = {
enable = true;
description = "Power devices on using Wake-On-LAN via Catbus";
wants = [ "network.target" ];