This commit is contained in:
Thilo Billerbeck 2024-05-21 13:50:50 +02:00
commit 5cf2d2aa05
2 changed files with 3 additions and 2 deletions

View file

@ -18,6 +18,7 @@ in
home.packages = with pkgs;
[
pkgs.nixVersions.latest # because remotely invoked updates are fun ;)
up
htop
rustc

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ config, pkgs, ... }:
let
configPath = if config.machine.isGeneric then
@ -22,7 +22,7 @@ in {
firmware = { upgrade = true; };
pre_commands = {
flakeUpgrade =
"cd ${configPath} && nix flake update --commit-lock-file --verbose --repair";
"cd ${configPath} && ${pkgs.nixVersions.latest}/bin/nix flake update --commit-lock-file --verbose --repair";
};
};
};