From a92c8e59df541faf311527a12443aa5376263067 Mon Sep 17 00:00:00 2001 From: Nikolaos Karaolidis Date: Thu, 19 Dec 2024 12:47:36 +0000 Subject: [PATCH] Move scripts Signed-off-by: Nikolaos Karaolidis --- README.md | 13 ++++++------- {scripts => lib/scripts}/add-host.sh | 0 {scripts => lib/scripts}/install.sh | 0 {scripts => lib/scripts}/remove-host.sh | 0 {scripts => lib/scripts}/update-keys.sh | 0 {scripts => lib/scripts}/update.sh | 0 6 files changed, 6 insertions(+), 7 deletions(-) rename {scripts => lib/scripts}/add-host.sh (100%) rename {scripts => lib/scripts}/install.sh (100%) rename {scripts => lib/scripts}/remove-host.sh (100%) rename {scripts => lib/scripts}/update-keys.sh (100%) rename {scripts => lib/scripts}/update.sh (100%) diff --git a/README.md b/README.md index bbc27f3..ef859bf 100644 --- a/README.md +++ b/README.md @@ -26,13 +26,12 @@ NixOS dotfiles and configuration for various hosts and users. - `secrets//`: Global secrets for individual namespaces that apply across all hosts. - [`lib/`](./lib): Nix library function definitions and utilities. - -- [`scripts/`](./scripts): Utility scripts for managing the repository. - - [`add-host.sh`](./scripts/add-host.sh): Instantiate the keys for a new host configuration. - - [`remove-host.sh`](./scripts/remove-host.sh): Remove references to a host. - - [`update-keys.sh`](./scripts/update-keys.sh): Update the encryption keys in all relevant files using `sops.yaml` configurations. - - [`update.sh`](./scripts/update.sh): Update flake and all git submodules. - - [`install.sh`](./scripts/install.sh): Install or repair a selected NixOS host. + - [`scripts/`](./lib/scripts): Utility scripts for managing the repository. + - [`add-host.sh`](./lib/scripts/add-host.sh): Instantiate the keys for a new host configuration. + - [`remove-host.sh`](./lib/scripts/remove-host.sh): Remove references to a host. + - [`update-keys.sh`](./lib/scripts/update-keys.sh): Update the encryption keys in all relevant files using `sops.yaml` configurations. + - [`update.sh`](./lib/scripts/update.sh): Update flake and all git submodules. + - [`install.sh`](./lib/scripts/install.sh): Install or repair a selected NixOS host. - [`submodules/`](./submodules): Flake forks used in the repository, such as [`nixpkgs`](https://github.com/NixOS/nixpkgs) and [`home-manager`](https://github.com/nix-community/home-manager). diff --git a/scripts/add-host.sh b/lib/scripts/add-host.sh similarity index 100% rename from scripts/add-host.sh rename to lib/scripts/add-host.sh diff --git a/scripts/install.sh b/lib/scripts/install.sh similarity index 100% rename from scripts/install.sh rename to lib/scripts/install.sh diff --git a/scripts/remove-host.sh b/lib/scripts/remove-host.sh similarity index 100% rename from scripts/remove-host.sh rename to lib/scripts/remove-host.sh diff --git a/scripts/update-keys.sh b/lib/scripts/update-keys.sh similarity index 100% rename from scripts/update-keys.sh rename to lib/scripts/update-keys.sh diff --git a/scripts/update.sh b/lib/scripts/update.sh similarity index 100% rename from scripts/update.sh rename to lib/scripts/update.sh