mirror of https://git.jolheiser.com/dotnix.git
parent
3539480632
commit
1939f193eb
8
justfile
8
justfile
|
@ -5,14 +5,14 @@ default:
|
||||||
[private]
|
[private]
|
||||||
rebuild *args:
|
rebuild *args:
|
||||||
@git add .
|
@git add .
|
||||||
@sudo nixos-rebuild --flake . {{args}}
|
@sudo nixos-rebuild --flake . {{args}} |& nix run nixpkgs#nix-output-monitor
|
||||||
|
|
||||||
# Rebuild the current machine
|
# Rebuild the current machine
|
||||||
switch *args:
|
switch *args:
|
||||||
@just rebuild switch {{args}}
|
@just rebuild switch {{args}}
|
||||||
|
|
||||||
hm:
|
hm:
|
||||||
@home-manager switch --flake .
|
@home-manager switch --flake . |& nix run nixpkgs#nix-output-monitor
|
||||||
@systemctl --user start agenix.service
|
@systemctl --user start agenix.service
|
||||||
|
|
||||||
# Rebuild the current machine for next boot
|
# Rebuild the current machine for next boot
|
||||||
|
@ -31,3 +31,7 @@ update-flake:
|
||||||
# Update an individual input
|
# Update an individual input
|
||||||
update input:
|
update input:
|
||||||
@nix flake lock --update-input {{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 .
|
||||||
|
|
Loading…
Reference in New Issue