kasei: add temporary logid service

This commit is contained in:
Oystein Kristoffer Tveit 2023-02-25 18:00:02 +01:00
parent 3d08b0f4a1
commit 6b037127e2
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

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"];