nix

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

justfile (519B)


      1 default:
      2     @just --list
      3 
      4 update:
      5     nix flake update
      6 
      7 check:
      8     nix flake check --no-update-lock-file
      9 
     10 deploy host:
     11     @backup git:nix
     12     NH_ELEVATION_STRATEGY=none nh os switch . --hostname {{ host }} --target-host root@{{ host }} --build-host root@{{ host }}
     13 
     14 home:
     15     -@backup git:nix
     16     nh home switch .
     17 
     18 diff host:
     19     -@backup git:nix
     20     NH_ELEVATION_STRATEGY=none nh os switch -n -d always . \
     21         --hostname {{ host }} \
     22         --target-host root@{{ host }} \
     23         --build-host root@{{ host }}