build: add nom and fetch

Signed-off-by: jolheiser <john.olheiser@gmail.com>
teamcity
jolheiser 2024-05-29 22:24:52 -05:00
parent 3539480632
commit 1939f193eb
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 6 additions and 2 deletions

View File

@ -5,14 +5,14 @@ default:
[private]
rebuild *args:
@git add .
@sudo nixos-rebuild --flake . {{args}}
@sudo nixos-rebuild --flake . {{args}} |& nix run nixpkgs#nix-output-monitor
# Rebuild the current machine
switch *args:
@just rebuild switch {{args}}
hm:
@home-manager switch --flake .
@home-manager switch --flake . |& nix run nixpkgs#nix-output-monitor
@systemctl --user start agenix.service
# Rebuild the current machine for next boot
@ -31,3 +31,7 @@ update-flake:
# Update an individual input
update input:
@nix flake lock --update-input {{input}}
fetch:
@nix run nixpkgs#onefetch -- --true-color never --no-bots -d lines-of-code
@nix run nixpkgs#scc -- --no-cocomo .