diff --git a/nix-os-configs/main.nix b/hosts/main.nix similarity index 100% rename from nix-os-configs/main.nix rename to hosts/main.nix diff --git a/nix-os-configs/vm.nix b/hosts/vm.nix similarity index 100% rename from nix-os-configs/vm.nix rename to hosts/vm.nix diff --git a/nixos-rebuild.sh b/nixos-rebuild.sh index 0d1dda7..55aa311 100755 --- a/nixos-rebuild.sh +++ b/nixos-rebuild.sh @@ -1 +1 @@ -NIXOS_CONFIG="$(pwd)/nix-os-configs/main.nix" nixos-rebuild $@ +NIXOS_CONFIG="$(pwd)/hosts/main.nix" nixos-rebuild $@ diff --git a/vm.sh b/vm.sh index 37f0b48..1ad67ec 100755 --- a/vm.sh +++ b/vm.sh @@ -1 +1 @@ -nix-build '' -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 '' -A vm -I nixpkgs=channel:nixos-23.11 -I nixos-config=./hosts/vm.nix $@ && $(ls ./result/bin/run-*) -m 4096 && rm *.qcow2