nixos-config/system/set-systemd.nix

23 lines
656 B
Nix
Raw Normal View History

2024-08-05 16:53:34 +02:00
{ pkgs,... }:
2024-08-03 17:45:23 +02:00
{
2024-08-05 07:23:16 +02:00
systemd.services.lact = {
2024-08-05 18:39:31 +02:00
enable = true;
2024-08-05 07:23:16 +02:00
description = "AMDGPU Control Daemon";
after = ["multi-user.target"];
wantedBy = ["multi-user.target"];
serviceConfig = {
ExecStart = "${pkgs.lact}/bin/lact daemon";
};
2024-08-06 06:33:47 +02:00
systemd.services.display-manager = {
enable = true;
conflicts = [ "plymouth-quit.service"];
after = [ "plymouth-quit.service" "rc-local.service" "plymouth-start.service" "systemd-user-sessions.service"];
OnFailure= ["plymouth-quit.service"];
serviceConfig = {
ExecStartPost= "sleep 30";
ExecStartPost= "plymouth quit --retain-splash";
};
};
2024-08-05 18:39:31 +02:00
};
2024-08-03 17:45:23 +02:00
}