From 809b60e3cee49c751daba2b26724ea011fbf5931 Mon Sep 17 00:00:00 2001 From: DashieTM Date: Sun, 25 Aug 2024 14:13:57 +0200 Subject: [PATCH] Change directory example --- README.md | 25 ++++++++++--------- example/hosts/{ => example}/configuration.nix | 0 example/hosts/example/hardware.nix | 1 + example/hosts/example/home.nix | 1 + 4 files changed, 15 insertions(+), 12 deletions(-) rename example/hosts/{ => example}/configuration.nix (100%) create mode 100644 example/hosts/example/hardware.nix create mode 100644 example/hosts/example/home.nix diff --git a/README.md b/README.md index 7dc5891..6a2f608 100644 --- a/README.md +++ b/README.md @@ -38,18 +38,19 @@ The hardware.nix specifies additional NixOS configuration, while home.nix specif |- flake.nix\ |- flake.lock\ -|- system1/\ -|----- configuration.nix (required)\ -|----- hardware.nix (optional)\ -|----- home.nix (optional)\ -|- system2/\ -|----- configuration.nix (required)\ -|----- hardware.nix (optional)\ -|----- home.nix (optional)\ -|- system3/\ -|----- configuration.nix (required)\ -|----- hardware.nix (optional)\ -|----- home.nix (optional) +|- hosts/\ +|--- system1/\ +|------ configuration.nix (required)\ +|------ hardware.nix (optional)\ +|------ home.nix (optional)\ +|--- system2/\ +|------ configuration.nix (required)\ +|------ hardware.nix (optional)\ +|------ home.nix (optional)\ +|--- system3/\ +|------ configuration.nix (required)\ +|------ hardware.nix (optional)\ +|------ home.nix (optional) Here is a minimal required configuration.nix (the TODOs mention a required change): diff --git a/example/hosts/configuration.nix b/example/hosts/example/configuration.nix similarity index 100% rename from example/hosts/configuration.nix rename to example/hosts/example/configuration.nix diff --git a/example/hosts/example/hardware.nix b/example/hosts/example/hardware.nix new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/example/hosts/example/hardware.nix @@ -0,0 +1 @@ +{} diff --git a/example/hosts/example/home.nix b/example/hosts/example/home.nix new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/example/hosts/example/home.nix @@ -0,0 +1 @@ +{}