- Formatted everything using Alejandra
- Added 'ncli format' as a quick command to format everything
This commit is contained in:
@ -1,34 +1,38 @@
|
||||
{ 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" ];
|
||||
config,
|
||||
pkgs,
|
||||
username,
|
||||
project,
|
||||
...
|
||||
}: {
|
||||
#To show logs of services run: journalctl --user-unit={service-name} --user
|
||||
|
||||
Type = "oneshot";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "5s";
|
||||
Environment = "PATH=/run/current-system/sw/bin:/etc/profiles/per-user/$USER/bin";
|
||||
};
|
||||
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" ];
|
||||
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";
|
||||
};
|
||||
Type = "oneshot";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "5s";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user