diff options
| author | David Morgan <djm_uk@protonmail.com> | 2026-06-19 17:06:31 +0100 |
|---|---|---|
| committer | David Morgan <djm_uk@protonmail.com> | 2026-06-19 17:06:31 +0100 |
| commit | e90bdd4c68a9e01970ca9093bfba762827246dc5 (patch) | |
| tree | 9686b6b2ab8556d8be0ef04322320bdbfcfacead /nix-conf/pkgs/scripts | |
| parent | 5adffcbe192ab294812ffb1dd7183c8a8bb8db16 (diff) | |
| download | dotfiles-e90bdd4c68a9e01970ca9093bfba762827246dc5.tar.gz | |
Rename nix-update script to system-update
Diffstat (limited to 'nix-conf/pkgs/scripts')
| -rw-r--r-- | nix-conf/pkgs/scripts/system-update.nix (renamed from nix-conf/pkgs/scripts/nix-update.nix) | 8 |
1 files changed, 4 insertions, 4 deletions
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}" |