mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
handheld-daemon: use kebab-case instead of camelCase for service name
This commit is contained in:
parent
52f22bfc57
commit
f571033ce0
@ -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).
|
||||
|
||||
|
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user