- Formatted everything using Alejandra

- Added 'ncli format' as a quick command to format everything
This commit is contained in:
2026-03-11 16:03:16 +01:00
parent 25ecab4a70
commit c6862c78db
36 changed files with 987 additions and 839 deletions

View File

@ -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";
};
};
}