mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
fix[client]: stop anki from halting shutdown
This commit is contained in:
parent
723ce403b2
commit
8813fb5117
2 changed files with 40 additions and 28 deletions
|
|
@ -20,10 +20,15 @@
|
|||
|
||||
Service = {
|
||||
# ExecStart = "${lib.getExe config.programs.anki.package}";
|
||||
ExecStart = "/etc/profiles/per-user/swarsel/bin/anki";
|
||||
Type = "simple";
|
||||
ExecStart = "/etc/profiles/per-user/${config.swarselsystems.mainUser}/bin/anki";
|
||||
Environment = [
|
||||
"QT_QPA_PLATFORM=xcb"
|
||||
];
|
||||
TimeoutStopSec = "2s";
|
||||
KillMode = "mixed";
|
||||
KillSignal = "SIGTERM";
|
||||
SendSIGKILL = "yes";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue