non important commit
This commit is contained in:
parent
909354351b
commit
7a07ecaa77
6 changed files with 2 additions and 2 deletions
|
|
@ -1,27 +0,0 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
qs_config = pkgs.callPackage ./quick_config/quick.nix {};
|
||||
quick_shell = inputs.quickshell.packages.${pkgs.system}.default;
|
||||
in {
|
||||
environment.systemPackages = [quick_shell];
|
||||
|
||||
systemd.user.services.quickshell = {
|
||||
description = "quickshell desktop shell";
|
||||
wantedBy = ["graphical-session.target"];
|
||||
partOf = ["graphical-session.target"];
|
||||
after = ["graphical-session.target"];
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${quick_shell}/bin/qs -c ${qs_config}";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 3;
|
||||
};
|
||||
};
|
||||
|
||||
system.userActivationScripts.restartQuickshell = ''
|
||||
${pkgs.systemd}/bin/systemctl --user restart quickshell.service || true
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue