about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos/doc/manual/release-notes/rl-2405.section.md2
-rw-r--r--nixos/modules/services/hardware/handheld-daemon.nix6
2 files changed, 4 insertions, 4 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2405.section.md b/nixos/doc/manual/release-notes/rl-2405.section.md
index 3ddc2f781bd9..994f64215461 100644
--- a/nixos/doc/manual/release-notes/rl-2405.section.md
+++ b/nixos/doc/manual/release-notes/rl-2405.section.md
@@ -22,7 +22,7 @@ In addition to numerous new and upgraded packages, this release has the followin
 
 <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
 
-- [Handheld Daemon](https://github.com/hhd-dev/hhd), support for gaming handhelds like the Legion Go, ROG Ally, and GPD Win. Available as [services.handheldDaemon](#opt-services.handheldDaemon.enable).
+- [Handheld Daemon](https://github.com/hhd-dev/hhd), support for gaming handhelds like the Legion Go, ROG Ally, and GPD Win. Available as [services.handheld-daemon](#opt-services.handheld-daemon.enable).
 
 - [Guix](https://guix.gnu.org), a functional package manager inspired by Nix. Available as [services.guix](#opt-services.guix.enable).
 
diff --git a/nixos/modules/services/hardware/handheld-daemon.nix b/nixos/modules/services/hardware/handheld-daemon.nix
index a513ed7ddf8e..81859bf5b122 100644
--- a/nixos/modules/services/hardware/handheld-daemon.nix
+++ b/nixos/modules/services/hardware/handheld-daemon.nix
@@ -4,10 +4,10 @@
 , ...
 }:
 with lib; let
-  cfg = config.services.handheldDaemon;
+  cfg = config.services.handheld-daemon;
 in
 {
-  options.services.handheldDaemon = {
+  options.services.handheld-daemon = {
     enable = mkEnableOption "Enable Handheld Daemon";
 
     user = mkOption {
@@ -23,7 +23,7 @@ in
     services.udev.packages = [ pkgs.handheld-daemon ];
     systemd.packages = [ pkgs.handheld-daemon ];
 
-    systemd.services.handheldDaemon = {
+    systemd.services.handheld-daemon = {
       description = "Handheld Daemon";
 
       wantedBy = [ "multi-user.target" ];