fix(sunsetr): systemd stop

This commit is contained in:
js0ny 2026-03-09 19:13:46 +00:00
parent 5548400ff8
commit 8e81a4a3da
5 changed files with 11 additions and 1 deletions

View file

@ -6,4 +6,5 @@
environment.systemPackages = [ environment.systemPackages = [
pkgs.smartmontools pkgs.smartmontools
]; ];
services.davfs2.enable = true;
} }

View file

@ -12,6 +12,7 @@
Service = { Service = {
Type = "simple"; Type = "simple";
ExecStart = "${pkgs.sunsetr}/bin/sunsetr -b"; ExecStart = "${pkgs.sunsetr}/bin/sunsetr -b";
ExecStop = "${pkgs.sunsetr}/bin/sunsetr stop";
Restart = "on-failure"; Restart = "on-failure";
RestartSec = 1; RestartSec = 1;
TimeoutStopSec = 10; TimeoutStopSec = 10;

View file

@ -16,6 +16,7 @@
aic = "aichat -s"; aic = "aichat -s";
aicc = "aichat -c"; aicc = "aichat -c";
py = "nix run 'nixpkgs#python3'"; py = "nix run 'nixpkgs#python3'";
oc = "opencode";
}; };
darwinAliases = { darwinAliases = {

View file

@ -3,4 +3,11 @@
protontricks protontricks
bottles bottles
]; ];
dconf.settings = {
"com/usebottles/bottles" = {
update-date = true;
steam-proton-support = true;
startup-view = "page_library";
};
};
} }

View file

@ -83,7 +83,7 @@ in {
./programs/lollypop.nix ./programs/lollypop.nix
./programs/gallery-dl.nix ./programs/gallery-dl.nix
./programs/readest.nix ./programs/readest.nix
./programs/openclaw.nix # ./programs/openclaw.nix
./programs/libmagic.nix ./programs/libmagic.nix
# Desktop Linux # Desktop Linux