update: actual budget server
This commit is contained in:
parent
ebc7481553
commit
85feeb7b3f
15 changed files with 709 additions and 496 deletions
|
|
@ -15,13 +15,14 @@ let
|
|||
inherit (lib) optionalString;
|
||||
|
||||
gamemodeToggle = mkToggleScript {
|
||||
service = "gamemoded";
|
||||
service = "gamemodedr";
|
||||
start = "on";
|
||||
stop = "off";
|
||||
icon = "";
|
||||
notify-icon = "preferences-desktop-gaming";
|
||||
extra = {
|
||||
text = "$(pgrep -c gamemode)";
|
||||
tooltip = "Running: $(pgrep -c gamemode)";
|
||||
tooltip = "Running: $(systemctl --user is-active gamemodedr)";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -87,6 +88,14 @@ in
|
|||
"d /tmp/wall_cache 700 ${username} -"
|
||||
];
|
||||
|
||||
# === gamemoded -r === #
|
||||
systemd.user.services.gamemodedr = lib.mkIf osConfig.programs.gamemode.enable {
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.gamemode}/bin/gamemoded -r";
|
||||
};
|
||||
};
|
||||
|
||||
# === waybar === #
|
||||
systemd.user.services.waybar = lib.mkIf config.programs.waybar.enable {
|
||||
Unit = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue