kasei: add temporary logid service

main
Oystein Kristoffer Tveit 2023-02-25 18:00:02 +01:00
parent 3d08b0f4a1
commit 6b037127e2
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 17 additions and 0 deletions

View File

@ -45,6 +45,23 @@
# security.pam.services.login.unixAuth = true;
# TODO: remove when merged: https://github.com/NixOS/nixpkgs/pull/167388
systemd.services.logid = {
description = "Logitech Configuration Daemon";
startLimitIntervalSec = 0;
wants = [ "multi-user.target" ];
after = [ "multi-user.target" ];
wantedBy = [ "graphical-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.logiops}/bin/logid";
User = "root";
ExecReload = "/bin/kill -HUP $MAINPID";
Restart="on-failure";
};
};
boot = {
blacklistedKernelModules = ["nouveau"];
kernelParams = ["nomodeset"];