mirror of
https://github.com/JaxTheWolf/nixos.git
synced 2026-05-30 15:12:01 +02:00
35 lines
740 B
Makefile
35 lines
740 B
Makefile
default: switch build-laptop upload clean
|
|
|
|
vm-desktop:
|
|
nix build .#nixosConfigurations.epiquev2.config.system.build.vm
|
|
./result/bin/run-epiquev2-vm
|
|
|
|
vm-laptop:
|
|
nix build .#nixosConfigurations.dalaptop.config.system.build.vm
|
|
./result/bin/run-dalaptop-vm
|
|
|
|
build-laptop:
|
|
nix build .#nixosConfigurations.dalaptop.config.system.build.toplevel --log-format internal-json |& nom --json
|
|
|
|
upload:
|
|
attic push my-config result -j2
|
|
attic push my-config /run/current-system -j2
|
|
|
|
clean:
|
|
rm -rf result
|
|
rm -rf *.qcow2
|
|
|
|
format:
|
|
treefmt .
|
|
|
|
switch:
|
|
nh os switch
|
|
|
|
switch_update:
|
|
nh os switch --refresh --update
|
|
|
|
switch_update_commit:
|
|
nh os switch --refresh --update --commit-lock-file
|
|
|
|
help:
|
|
@just --list
|