init
This commit is contained in:
commit
b6cdc78668
210 changed files with 9929 additions and 0 deletions
29
hand7s/systemd/hyprpanel-service.nix
Normal file
29
hand7s/systemd/hyprpanel-service.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
systemd = {
|
||||
user = {
|
||||
services = {
|
||||
hyprpanel = {
|
||||
Unit = {
|
||||
Description = "Hyprpanel service.";
|
||||
WantedBy = "graphical-session.target";
|
||||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = "${pkgs.hyprpanel}/bin/hyprpanel";
|
||||
Restart = "always";
|
||||
RestartSec = 1;
|
||||
};
|
||||
|
||||
Install = {
|
||||
After = "graphical-session.target";
|
||||
ConditionEnvironment = "WAYLAND_DISPLAY";
|
||||
PartOf = "graphical-session.target";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
29
hand7s/systemd/hyprpolkitagent-service.nix
Normal file
29
hand7s/systemd/hyprpolkitagent-service.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
systemd = {
|
||||
user = {
|
||||
services = {
|
||||
hyprpolkitagent = {
|
||||
Unit = {
|
||||
Description = "Hyprpolkitagent service.";
|
||||
WantedBy = "graphical-session.target";
|
||||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = "${pkgs.hyprpolkitagent}/libexec/hyprpolkitagent";
|
||||
Restart = "always";
|
||||
RestartSec = 10;
|
||||
};
|
||||
|
||||
Install = {
|
||||
After = "graphical-session.target";
|
||||
ConditionEnvironment = "WAYLAND_DISPLAY";
|
||||
PartOf = "graphical-session.target";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
29
hand7s/systemd/yambar-service.nix
Normal file
29
hand7s/systemd/yambar-service.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
systemd = {
|
||||
user = {
|
||||
services = {
|
||||
yambar = {
|
||||
Unit = {
|
||||
Description = "Yambar service.";
|
||||
WantedBy = "graphical-session.target";
|
||||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = "${pkgs.yambar}/bin/yambar";
|
||||
Restart = "always";
|
||||
RestartSec = 1;
|
||||
};
|
||||
|
||||
Install = {
|
||||
After = "graphical-session.target";
|
||||
ConditionEnvironment = "WAYLAND_DISPLAY";
|
||||
PartOf = "graphical-session.target";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue