From 6c96c4ca0fdd2e58b420a8c73367562bec620bb0 Mon Sep 17 00:00:00 2001 From: Satria Date: Sun, 29 Mar 2026 09:46:51 +0700 Subject: [PATCH 1/2] disable forgejo restart on update --- modules/system/homelab/git.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/system/homelab/git.nix b/modules/system/homelab/git.nix index 72c6050..8e6b25d 100644 --- a/modules/system/homelab/git.nix +++ b/modules/system/homelab/git.nix @@ -48,5 +48,8 @@ hostPackages = with pkgs; [ bash coreutils git nix openssh nodejs ]; }; }; - systemd.services."gitea-runner-nixos-deploy".restartIfChanged = false; + systemd.services = { + "gitea-runner-nixos-deploy".restartIfChanged = false; + "forgejo".restartIfChanged = false; + }; } From 8c76b31111cfd4cb7df436ee0515f7c9a24e2c07 Mon Sep 17 00:00:00 2001 From: satr14 Date: Sun, 29 Mar 2026 10:47:54 +0700 Subject: [PATCH 2/2] disable reload after sleep --- modules/home/rice/idle.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/rice/idle.nix b/modules/home/rice/idle.nix index 18d162d..80434de 100644 --- a/modules/home/rice/idle.nix +++ b/modules/home/rice/idle.nix @@ -6,7 +6,7 @@ lock_cmd = "hyprlock"; unlock_cmd = "pkill -USR1 hyprlock"; before_sleep_cmd = "hyprctl dispatch dpms off && hyprlock"; - after_sleep_cmd = "hyprctl dispatch dpms on && pkill -USR2 hyprlock"; + after_sleep_cmd = "hyprctl dispatch dpms on"; }; listener = [ {