diff options
| author | Fuwn <[email protected]> | 2024-10-09 03:03:49 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-09 03:05:08 -0700 |
| commit | 02bb867fb994df7e0e68c18e2154070eb79409d4 (patch) | |
| tree | 1e3e42f4f7cbb4c504014b6755a0d0a1c00ea6f9 /parts | |
| parent | browser: add pywalfox (diff) | |
| download | nixos-config-02bb867fb994df7e0e68c18e2154070eb79409d4.tar.xz nixos-config-02bb867fb994df7e0e68c18e2154070eb79409d4.zip | |
just: update task
Diffstat (limited to 'parts')
| -rw-r--r-- | parts/just.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/parts/just.nix b/parts/just.nix index 2062262..62ab215 100644 --- a/parts/just.nix +++ b/parts/just.nix @@ -38,6 +38,9 @@ doas nix run github:nix-community/nixos-anywhere \ -- \ --flake .#{{hostname}} root@{{ip}} + + update: + nix flake metadata --json | jq -r '.locks.nodes | keys[] | select(. != "nixpkgs")' | xargs -I{} nix flake update {} ''; }; } |