meta: rename nix-os-configs to hosts

This commit is contained in:
Wroclaw 2024-05-17 21:45:11 +02:00
parent 5d0bf2000d
commit cae29c2484
4 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
NIXOS_CONFIG="$(pwd)/nix-os-configs/main.nix" nixos-rebuild $@ NIXOS_CONFIG="$(pwd)/hosts/main.nix" nixos-rebuild $@

2
vm.sh
View file

@ -1 +1 @@
nix-build '<nixpkgs/nixos>' -A vm -I nixpkgs=channel:nixos-23.11 -I nixos-config=./nix-os-configs/vm.nix $@ && $(ls ./result/bin/run-*) -m 4096 && rm *.qcow2 nix-build '<nixpkgs/nixos>' -A vm -I nixpkgs=channel:nixos-23.11 -I nixos-config=./hosts/vm.nix $@ && $(ls ./result/bin/run-*) -m 4096 && rm *.qcow2