Files
NixOS/plasma/autostart.nix
Cookiez 1b97c15215 Changed plasma manager to configure all of KDE Plasma 6.
Removed old Konsave files as they are no longer needed with plasma manager.
2026-02-15 12:13:01 +01:00

35 lines
1.0 KiB
Nix

{ config, pkgs, username, project, ... }:
{
#To show logs of services run: journalctl --user-unit={service-name} --user
systemd.user.services.autostart-yakuake = {
enable = true;
description = "Automatically start Yakuake";
after = [ "graphical-session.target" ];
wantedBy = [ "graphical-session.target" ];
serviceConfig = {
ExecStart = [ "${pkgs.kdePackages.yakuake}/bin/yakuake" ];
Type = "oneshot";
Restart = "on-failure";
RestartSec = "5s";
Environment = "PATH=/run/current-system/sw/bin:/etc/profiles/per-user/$USER/bin";
};
};
systemd.user.services.autostart-trayscale = {
enable = true;
description = "Automatically start Trayscale";
#after = [ "plasma-desktop.service" ];
wantedBy = [ "default.target" ];
serviceConfig = {
ExecStart = [ "${pkgs.trayscale}/bin/trayscale --hide-window" ];
Type = "oneshot";
Restart = "on-failure";
RestartSec = "5s";
};
};
}