From 6b037127e2e931ae327554753b2cb990f187b7b0 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sat, 25 Feb 2023 18:00:02 +0100 Subject: [PATCH] kasei: add temporary logid service --- hosts/kasei/configuration.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/hosts/kasei/configuration.nix b/hosts/kasei/configuration.nix index a50a2ff..e0da1a1 100644 --- a/hosts/kasei/configuration.nix +++ b/hosts/kasei/configuration.nix @@ -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"];