From 6071913bde1cfa3ecaffdfcb92652aac4fc646f2 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 1 Aug 2024 14:54:21 -0700 Subject: [PATCH] update to latest nixpkgs --- flake.lock | 12 ++++++------ home.nix | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index 4fd6921..55adb62 100755 --- a/flake.lock +++ b/flake.lock @@ -230,11 +230,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1722185531, - "narHash": "sha256-veKR07psFoJjINLC8RK4DiLniGGMgF3QMlS4tb74S6k=", + "lastModified": 1722421184, + "narHash": "sha256-/DJBI6trCeVnasdjUo9pbnodCLZcFqnVZiLUfqLH4jA=", "owner": "nixos", "repo": "nixpkgs", - "rev": "52ec9ac3b12395ad677e8b62106f0b98c1f8569d", + "rev": "9f918d616c5321ad374ae6cb5ea89c9e04bf3e58", "type": "github" }, "original": { @@ -324,11 +324,11 @@ }, "stablepkgs": { "locked": { - "lastModified": 1722221733, - "narHash": "sha256-sga9SrrPb+pQJxG1ttJfMPheZvDOxApFfwXCFO0H9xw=", + "lastModified": 1722372011, + "narHash": "sha256-B2xRiC3NEJy/82ugtareBkRqEkPGpMyjaLxaR8LBxNs=", "owner": "nixos", "repo": "nixpkgs", - "rev": "12bf09802d77264e441f48e25459c10c93eada2e", + "rev": "cf05eeada35e122770c5c14add958790fcfcbef5", "type": "github" }, "original": { diff --git a/home.nix b/home.nix index f85d9c3..92796fc 100755 --- a/home.nix +++ b/home.nix @@ -251,7 +251,8 @@ description = "Update the system flake and attempt to build and switch to the new configuration."; body = '' - nix flake update /etc/nixos + cd /etc/nixos + nix flake update sudo nixos-rebuild switch ''; };