22 lines
502 B
Nix
22 lines
502 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
#to show logs of services run: journalctl --user-unit={service-name} --user
|
|
|
|
systemd.user.services.autostart-noctalia = {
|
|
enable = false;
|
|
description = "automatically start noctalia shell";
|
|
|
|
after = [ "graphical-session.target" ];
|
|
wantedBy = [ "graphical-session.target" ];
|
|
partOf = [ "graphical-session.target" ];
|
|
|
|
serviceConfig = {
|
|
ExecStart = [ "qs -c noctalia-shell" ];
|
|
|
|
Restart = "on-failure";
|
|
RestartSec = "1s";
|
|
};
|
|
};
|
|
|
|
}
|