diff options
author | Soispha <soispha@vhack.eu> | 2024-02-20 16:35:15 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-02-20 16:35:15 +0100 |
commit | cc09b607330385d6d81b9c47cf64a2442432e93f (patch) | |
tree | dc7e4503a3341b8936576c6339a70df4adaa2512 /bootstrap | |
parent | refactor(hm/conf/zsh/config): Rework old config scripts (diff) | |
download | nixos-config-cc09b607330385d6d81b9c47cf64a2442432e93f.tar.gz nixos-config-cc09b607330385d6d81b9c47cf64a2442432e93f.zip |
refactor(treewide): Add a `.sh` extension to shell scripts
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap/01_activate.sh (renamed from bootstrap/01_activate) | 0 | ||||
-rwxr-xr-x | bootstrap/01_install.sh (renamed from bootstrap/01_install) | 0 | ||||
-rwxr-xr-x | bootstrap/02_setup.sh (renamed from bootstrap/02_setup) | 0 | ||||
-rwxr-xr-x | bootstrap/03_config_setup.sh (renamed from bootstrap/03_config_setup) | 0 | ||||
-rwxr-xr-x | bootstrap/99_ensure_config_variables.sh (renamed from bootstrap/99_ensure_config_variables) | 0 | ||||
-rw-r--r-- | bootstrap/default.nix | 10 |
6 files changed, 5 insertions, 5 deletions
diff --git a/bootstrap/01_activate b/bootstrap/01_activate.sh index 82e45761..82e45761 100755 --- a/bootstrap/01_activate +++ b/bootstrap/01_activate.sh diff --git a/bootstrap/01_install b/bootstrap/01_install.sh index e4581b6d..e4581b6d 100755 --- a/bootstrap/01_install +++ b/bootstrap/01_install.sh diff --git a/bootstrap/02_setup b/bootstrap/02_setup.sh index 44368f69..44368f69 100755 --- a/bootstrap/02_setup +++ b/bootstrap/02_setup.sh diff --git a/bootstrap/03_config_setup b/bootstrap/03_config_setup.sh index dc2726d0..dc2726d0 100755 --- a/bootstrap/03_config_setup +++ b/bootstrap/03_config_setup.sh diff --git a/bootstrap/99_ensure_config_variables b/bootstrap/99_ensure_config_variables.sh index ce8ffa0f..ce8ffa0f 100755 --- a/bootstrap/99_ensure_config_variables +++ b/bootstrap/99_ensure_config_variables.sh diff --git a/bootstrap/default.nix b/bootstrap/default.nix index 859434e1..b3e44380 100644 --- a/bootstrap/default.nix +++ b/bootstrap/default.nix @@ -8,31 +8,31 @@ activate = sysLib.writeShellScript { dependencies = builtins.attrValues {inherit (pkgs) jq gawk curl coreutils libuuid nix git;} ++ ensure_config_variables_dependencies; name = "activate"; - src = ./01_activate; + src = ./01_activate.sh; inherit replacementStrings; }; install = sysLib.writeShellScript { dependencies = builtins.attrValues {inherit (pkgs) jq dash curl gawk btrfs-progs coreutils libuuid gptfdisk dosfstools toybox nix git;} ++ ensure_config_variables_dependencies; name = "install"; - src = ./01_install; + src = ./01_install.sh; inherit replacementStrings; }; setup = sysLib.writeShellScript { dependencies = builtins.attrValues {inherit (pkgs) dash gawk curl git nix gnugrep nixos-install-tools coreutils libuuid;} ++ ensure_config_variables_dependencies; name = "setup"; - src = ./02_setup; + src = ./02_setup.sh; inherit replacementStrings; }; config_setup = sysLib.writeShellScript { dependencies = builtins.attrValues {inherit (pkgs) git neovim;} ++ ensure_config_variables_dependencies; name = "config_setup"; - src = ./03_config_setup; + src = ./03_config_setup.sh; keepPath = true; inherit replacementStrings; }; ensure_config_variables = sysLib.writeShellScript { name = "ensure_config_variables"; - src = ./99_ensure_config_variables; + src = ./99_ensure_config_variables.sh; wrap = false; }; output = {inherit activate install setup config_setup ensure_config_variables;}; |