nix-conf/user/autostart.nix
2024-12-20 13:15:22 -05:00

25 lines
768 B
Nix

{pkgs, pkgs-stable, ...}: {
systemd.user.targets.autostart = {
Unit = {
Wants = [
"plasma-polkit-agent.service"
"plasma-xdg-desktop-portal-kde.service"
"plasma-dolphin.service"
"xdg-desktop-portal.service"
"copyq.service"
"fcitx5.service"
"picom.service"
"safeeyes.service"
"snixembed.service"
];
};
};
systemd.user.services = {
copyq.Service.ExecStart = ["${pkgs.copyq}/bin/copyq"];
fcitx5.Service.ExecStart = ["/run/current-system/sw/bin/fcitx5"];
picom.Service.ExecStart = ["${pkgs.picom}/bin/picom"];
safeeyes.Service.ExecStart = ["${pkgs-stable.safeeyes}/bin/safeeyes"];
snixembed.Service.ExecStart = ["${pkgs.snixembed}/bin/snixembed"];
};
}