mirror of
https://github.com/JaxTheWolf/nixos.git
synced 2026-03-31 17:50:23 +02:00
33 lines
673 B
Makefile
33 lines
673 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 --refresh
|
|
|
|
switch_update:
|
|
nh os switch --refresh --update
|
|
|
|
help:
|
|
@just --list
|