Remove awww, add service for discord
Added service for discord as the autostart is always pointing to an old store
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
systemd.user.services = {
|
||||
discord = {
|
||||
Unit = {
|
||||
Description = "Text and voice chat for gamers.";
|
||||
PartOf = [
|
||||
"graphical-session.target"
|
||||
];
|
||||
After = [
|
||||
"graphical-session.target"
|
||||
"wayland-session@hyprland.desktop.target"
|
||||
];
|
||||
Requisite = [
|
||||
"graphical-session.target"
|
||||
"wayland-session@hyprland.desktop.target"
|
||||
];
|
||||
WantedBy = [
|
||||
"graphical-session.target"
|
||||
"wayland-session@hyprland.desktop.target"
|
||||
];
|
||||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.discord}/bin/discord";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "1";
|
||||
Slice = "app-graphical.slice";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [
|
||||
"graphical-session.target"
|
||||
"wayland-session@hyprland.desktop.target"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user