mirror of https://git.jolheiser.com/dotnix.git
parent
3539480632
commit
1939f193eb
8
justfile
8
justfile
|
@ -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 .
|
||||
|
|
Loading…
Reference in New Issue