From cae29c2484f81ff773c776c96f8c98cc6be8380d Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Fri, 17 May 2024 21:45:11 +0200 Subject: [PATCH] meta: rename nix-os-configs to hosts --- {nix-os-configs => hosts}/main.nix | 0 {nix-os-configs => hosts}/vm.nix | 0 nixos-rebuild.sh | 2 +- vm.sh | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename {nix-os-configs => hosts}/main.nix (100%) rename {nix-os-configs => hosts}/vm.nix (100%) 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