mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-11-23 00:18:49 +01:00
Merge branch 'main' of https://github.com/thilobillerbeck/dotfiles
This commit is contained in:
commit
5cf2d2aa05
2 changed files with 3 additions and 2 deletions
|
@ -18,6 +18,7 @@ in
|
||||||
|
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
[
|
[
|
||||||
|
pkgs.nixVersions.latest # because remotely invoked updates are fun ;)
|
||||||
up
|
up
|
||||||
htop
|
htop
|
||||||
rustc
|
rustc
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
configPath = if config.machine.isGeneric then
|
configPath = if config.machine.isGeneric then
|
||||||
|
@ -22,7 +22,7 @@ in {
|
||||||
firmware = { upgrade = true; };
|
firmware = { upgrade = true; };
|
||||||
pre_commands = {
|
pre_commands = {
|
||||||
flakeUpgrade =
|
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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue