1

Disable stuff on plasma

This commit is contained in:
2023-01-14 13:37:10 +01:00
parent f3d94c4a7a
commit f05e8d209e

View File

@ -28,23 +28,24 @@ in {
# I want to have nextcloud-client in the path when the module is enabled
home.packages = with pkgs; [ nextcloud-client ];
systemd.user.services = (mkIf cfg.autostart) {
autostart-nextcloud-client = {
Unit = {
Description = "Nextcloud Client";
PartOf = [ "graphical-session.target" ];
# TODO: Disable only for plasma
# systemd.user.services = (mkIf cfg.autostart) {
# autostart-nextcloud-client = {
# Unit = {
# Description = "Nextcloud Client";
# PartOf = [ "graphical-session.target" ];
# was graphical-session-pre.target originally in HM
After = [ "graphical-session.target" "network-online.target" ];
};
# # was graphical-session-pre.target originally in HM
# After = [ "graphical-session.target" "network-online.target" ];
# };
Service = {
Environment = "PATH=${config.home.profileDirectory}/bin";
ExecStart = "${pkgs.nextcloud-client}/bin/nextcloud --background";
};
# Service = {
# Environment = "PATH=${config.home.profileDirectory}/bin";
# ExecStart = "${pkgs.nextcloud-client}/bin/nextcloud --background";
# };
Install.WantedBy = [ "graphical-session.target" ];
};
};
# Install.WantedBy = [ "graphical-session.target" ];
# };
# };
};
}