flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/4e0eec54db79d4d0909f45a88037210ff8eaffee' (2024-10-26)
  → 'github:nixos/nixpkgs/86e78d3d2084ff87688da662cf78c2af085d8e73' (2024-10-26)
This commit is contained in:
Abhinav Sarkar 2024-10-27 12:19:43 +05:30
parent 0194e0ce3b
commit f92fc744be
3 changed files with 7 additions and 7 deletions

6
flake.lock generated
View File

@ -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": {

View File

@ -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"

View File

@ -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