nix

configuration files that power my machines
Log | Files | Refs | README | LICENSE

commit 786765135c37a832a81e81c7e4efdc7e1efb5cc2
parent 79dea1baf2c7b4d56507e1395871f5b0f682a285
Author: mtmn <miro@haravara.org>
Date:   Sun,  5 Jul 2026 21:24:26 +0200

nix: fix remote diffs

Diffstat:
Mflake.nix | 1+
Mjustfile | 14+++++---------
Mmodules/mixins/dotfiles/config/newsraft/feeds | 1+
3 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/flake.nix b/flake.nix @@ -115,6 +115,7 @@ pkgs.mkShell { packages = [ pkgs.nh + pkgs.dix pkgs.nvd pkgs.npins ]; diff --git a/justfile b/justfile @@ -15,13 +15,9 @@ home: -@backup git:nix nh home switch . -diff: +diff host: -@backup git:nix - home-manager build --flake ".#$(whoami)@$(hostname)" --no-update-lock-file - nvd diff $HOME/.local/state/nix/profiles/home-manager ./result - -diffr host: - -@backup git:nix - nix store diff-closures \ - $(ssh {{ host }} readlink -f /run/current-system) \ - $(nix build --no-link --print-out-paths .#nixosConfigurations.{{ host }}.config.system.build.toplevel) + NH_ELEVATION_STRATEGY=none nh os switch -n -d always . \ + --hostname {{ host }} \ + --target-host root@{{ host }} \ + --build-host root@{{ host }} diff --git a/modules/mixins/dotfiles/config/newsraft/feeds b/modules/mixins/dotfiles/config/newsraft/feeds @@ -252,3 +252,4 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCpOJZSocCYp9ufh9qF5W5vQ Cur https://www.youtube.com/feeds/videos.xml?channel_id=UC7Jwj9fkrf1adN4fMmTkpug DankPods https://www.youtube.com/feeds/videos.xml?channel_id=UC_n6DdR6FClpCbWnNM7Zp6A SpaceRex https://www.youtube.com/feeds/videos.xml?channel_id=UCFajCKBeNRW16Xb5mJvrCvw Kernotex +https://www.youtube.com/feeds/videos.xml?channel_id=UCN1Dg0gd31dxNfQez6yPB7Q Stephanie Sammann