From cab5fccf7080e3303a07a1cd2898c3ee2ff5884e Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sun, 4 Oct 2026 01:00:00 +0500 Subject: [PATCH] update --- flake.lock | 12 ++++++------ home/obs.nix | 10 ++++++---- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index 1c63d42..536e810 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1789267039, - "narHash": "sha256-LWiBv9yAYFi2LPbUhDGHPGKYskJQjj2fw12OlyO1uQo=", + "lastModified": 1790996401, + "narHash": "sha256-f+kOxEmOUnQazVAmGg0i8hzwgd1kX/geY+k/Dpheye8=", "owner": "nix-community", "repo": "home-manager", - "rev": "ec172013fa62135f58fb58dd17ae9651e8f39727", + "rev": "db7d5e2332710f5abb088f6b5de927d7f9511b35", "type": "github" }, "original": { @@ -23,11 +23,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1789749394, - "narHash": "sha256-cFTsMQz8Hzn8MT49oaeLSHg62tE86NykugCWkeM2ypk=", + "lastModified": 1790920529, + "narHash": "sha256-nQyFkMR78WP6PiXKkDW2SjqzLf/spQqjRuxRGSbcV8k=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "cf9d2fb3e50fa1cd5114c47505ea9177f7ff5f49", + "rev": "774debe7a0d1b496e35677ad955a1011c6ff74f3", "type": "github" }, "original": { diff --git a/home/obs.nix b/home/obs.nix index dbb618b..2a9e1e7 100644 --- a/home/obs.nix +++ b/home/obs.nix @@ -9,10 +9,11 @@ # # OBS rewrites its own config on exit (user.ini geometry/DockState, # global.ini LastVersion, basic.ini whenever settings change). Those writes -# replace the symlink with a regular file, which is harmless -- the next -# nixos-rebuild switch moves it aside as *.hm-bak and relinks. The repo is the -# source of truth, so anything changed in the OBS GUI that should stick has to -# be copied back: +# replace the symlink with a regular file. force = true makes the next +# nixos-rebuild switch overwrite it without a backup -- a .hm-bak would only +# collide with the previous one and fail activation. The repo is the source of +# truth, so anything changed in the OBS GUI that should stick has to be copied +# back before rebuilding: # # cp -a ~/.config/obs-studio/user.ini config/obs-studio/user.ini # @@ -29,5 +30,6 @@ xdg.configFile."obs-studio" = { source = ../config/obs-studio; recursive = true; + force = true; }; }