nix-conf/user/autostart.nix

23 lines
669 B
Nix
Raw Normal View History

2024-11-29 01:48:44 -05:00
{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"
];
};
};
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"];
};
}