summaryrefslogtreecommitdiffstats
path: root/nixos/modules/hardware
diff options
context:
space:
mode:
authorKier Davis <kierdavis@gmail.com>2018-05-06 19:23:20 +0100
committerKier Davis <kierdavis@gmail.com>2018-10-22 13:22:02 +0100
commit8069b09d057489089257e4790ef5896761e3024c (patch)
treef8649c3f52ad57d8a2e07cdf5b0493ddd925ed45 /nixos/modules/hardware
parent85526bce87def0cf74d23065690971e335987f7b (diff)
ckb module: update systemd service parameters to match upstream
This changes the description and restart mode to the values present in lib/systemd/system/ckb.service within the ckb package.
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r--nixos/modules/hardware/ckb.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/hardware/ckb.nix b/nixos/modules/hardware/ckb.nix
index a8e697f79391..8c0cdbd24d47 100644
--- a/nixos/modules/hardware/ckb.nix
+++ b/nixos/modules/hardware/ckb.nix
@@ -24,11 +24,11 @@ in
environment.systemPackages = [ cfg.package ];
systemd.services.ckb = {
- description = "Corsair Keyboard Daemon";
+ description = "Corsair Keyboards and Mice Daemon";
wantedBy = ["multi-user.target"];
script = "${cfg.package}/bin/ckb-next-daemon";
serviceConfig = {
- Restart = "always";
+ Restart = "on-failure";
StandardOutput = "syslog";
};
};