diff --git a/flake.lock b/flake.lock index 6e2f7f4..e80fd0f 100644 --- a/flake.lock +++ b/flake.lock @@ -186,11 +186,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1729951556, - "narHash": "sha256-bpb6r3GjzhNW8l+mWtRtLNg5PhJIae041sPyqcFNGb4=", + "lastModified": 1729980323, + "narHash": "sha256-eWPRZAlhf446bKSmzw6x7RWEE4IuZgAp8NW3eXZwRAY=", "owner": "nixos", "repo": "nixpkgs", - "rev": "4e0eec54db79d4d0909f45a88037210ff8eaffee", + "rev": "86e78d3d2084ff87688da662cf78c2af085d8e73", "type": "github" }, "original": { diff --git a/justfile b/justfile index 1dda630..dbd5532 100644 --- a/justfile +++ b/justfile @@ -21,13 +21,13 @@ _run cmd: _build: nom build {{ root_dir }}#darwinConfigurations.{{ hostname }}.system -# build latest home-manager generation +# build nix-darwin system build: (_run "_build") _switch: _build ./result/sw/bin/darwin-rebuild -v switch --flake "{{ root_dir }}" -# switch to latest home-manager generation +# build nix-darwin system and switch to it switch: (_run "_switch") && _report-changes _update: && _switch _brew-update _report-changes @@ -49,7 +49,7 @@ _report-changes: # update packages and switch update: (_run "_update") -# clean up nix garbage +# clean up garbage clean days="7": home-manager expire-generations "-{{days}} days" nix profile wipe-history --older-than "{{days}}d" diff --git a/nix.nix b/nix.nix index 69b6101..e7863ca 100644 --- a/nix.nix +++ b/nix.nix @@ -24,7 +24,7 @@ in { services.nix-daemon.enable = true; nix = { - package = pkgs.nixFlakes; + package = pkgs.nixVersions.stable; extraOptions = '' keep-outputs = true keep-derivations = true