all repos — nixfiles @ f4659f649543ed5762b0dd049f940fa75870c891

System and user configuration, managed by nix and home-manager

add justfile tasks to manage updates

Alin
commit

f4659f649543ed5762b0dd049f940fa75870c891

parent

aa8b6133ea9e874e68c6241c8176ede7754ba716

1 file changed, 12 insertions(+), 0 deletions(-)

changed files
M justfile → justfile
@@ -2,6 +2,10 @@ user := env("USER", "alin")
hostname := env("HOSTNAME", `hostname`) export NH_FILE := "." +alias up := update-packages +alias ui := update-inputs +alias ua := update-all + test: nix flake check --all-systems path:.
@@ -19,3 +23,11 @@ nh os {{ action }} --file . nixosConfigurations.{{ hostname }} {{ args }}
case *: echo "Couldn't find a supported os in \$system: $system" end + +update-packages: + git submodule update --remote packages + +update-inputs: + nix flake update + +update-all: update-inputs update-packages