mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 07:04:47 +00:00
updates
This commit is contained in:
parent
4f82f80b53
commit
8616e48112
7 changed files with 216 additions and 40 deletions
12
justfile
12
justfile
|
|
@ -2,14 +2,16 @@ default:
|
|||
just --list
|
||||
|
||||
check:
|
||||
nix flake check
|
||||
nix --extra-experimental-features 'nix-command flakes' flake check
|
||||
|
||||
build:
|
||||
nix build .#darwinConfigurations.hari-macbook-pro.system
|
||||
nix --extra-experimental-features 'nix-command flakes' build .#darwinConfigurations.hari-macbook-pro.system
|
||||
|
||||
switch:
|
||||
nix run github:LnL7/nix-darwin/master#darwin-rebuild -- switch --flake .#hari-macbook-pro
|
||||
sudo env PATH="$PATH" nix --extra-experimental-features 'nix-command flakes' run github:LnL7/nix-darwin/master#darwin-rebuild -- switch --flake .#hari-macbook-pro
|
||||
|
||||
backup:
|
||||
./scripts/backup-machine.sh
|
||||
|
||||
fmt:
|
||||
nix fmt
|
||||
|
||||
nix --extra-experimental-features 'nix-command flakes' fmt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue