nixos-configs/justfile
matt1432 849ab8ad6c
All checks were successful
Discord / discord commits (push) Has been skipped
fix(update): use my fork of nix-update to run scripts
2025-02-17 16:47:32 -05:00

24 lines
543 B
Makefile

default:
@just --list
docs args:
nix run "$FLAKE"#gen-docs
genflake:
#!/usr/bin/env bash
# Get changes from inputs/default.nix
nix run "$FLAKE"#genflake "$FLAKE"/flake.nix &&
# Evaluate `follows` from new flake.lock
nix run "$FLAKE"#genflake "$FLAKE"/flake.nix &&
# Make sure everything is right
nix run "$FLAKE"#genflake "$FLAKE"/flake.nix
alejandra -q "$FLAKE"/flake.nix
[positional-arguments]
pin args:
nix run "$FLAKE"#pin-inputs -- "$@"
[positional-arguments]
up args:
nix run "$FLAKE"#update-sources -- "$@"