aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nix-conf/hosts/home-manager/modules/programs/nix.nix2
-rw-r--r--nix-conf/pkgs/scripts/system-update.nix (renamed from nix-conf/pkgs/scripts/nix-update.nix)8
2 files changed, 5 insertions, 5 deletions
diff --git a/nix-conf/hosts/home-manager/modules/programs/nix.nix b/nix-conf/hosts/home-manager/modules/programs/nix.nix
index b03edb0..21de510 100644
--- a/nix-conf/hosts/home-manager/modules/programs/nix.nix
+++ b/nix-conf/hosts/home-manager/modules/programs/nix.nix
@@ -32,7 +32,7 @@ in
preview-channel-diff
system-changes-report
system-diff-closures
- (pkgs.nix-update.override { inherit inputs os version; })
+ (pkgs.system-update.override { inherit inputs os version; })
];
programs.zsh.siteFunctions = {
diff --git a/nix-conf/pkgs/scripts/nix-update.nix b/nix-conf/pkgs/scripts/system-update.nix
index 23272eb..0625793 100644
--- a/nix-conf/pkgs/scripts/nix-update.nix
+++ b/nix-conf/pkgs/scripts/system-update.nix
@@ -1,9 +1,9 @@
{
lib,
pkgs,
- inputs ? throw "nix-update requires inputs",
- os ? throw "nix-update requires os",
- version ? throw "nix-update requires version",
+ inputs ? throw "system-update requires inputs",
+ os ? throw "system-update requires os",
+ version ? throw "system-update requires version",
...
}:
@@ -11,7 +11,7 @@ let
nixpkgsInput = "nixpkgs-${version}";
homeManagerInput = "home-manager-${version}";
in
-pkgs.writeShellScriptBin "nix-update" ''
+pkgs.writeShellScriptBin "system-update" ''
set -euo pipefail
NIX_CONF="''${NH_FLAKE:-$HOME/dotfiles/nix-conf}"