diff options
author | Soispha <soispha@vhack.eu> | 2023-07-02 14:21:12 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-10 16:44:23 +0200 |
commit | a32a937bb3eb105f2b75ab6144ae63f91fe6dbf5 (patch) | |
tree | 4f3308b334f4e9d35ba80e05af6715415c9d9a30 | |
parent | Fix(bootstrap): Use correct environment variable name (diff) | |
download | nixos-config-a32a937bb3eb105f2b75ab6144ae63f91fe6dbf5.tar.gz nixos-config-a32a937bb3eb105f2b75ab6144ae63f91fe6dbf5.zip |
Fix(bootstrap): Add udevadm as a dependency
-rw-r--r-- | bootstrap/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bootstrap/default.nix b/bootstrap/default.nix index 76968cd2..f2355aa3 100644 --- a/bootstrap/default.nix +++ b/bootstrap/default.nix @@ -3,27 +3,28 @@ sysLib, ... }: let + ensure_config_variables_dependencies = builtins.attrValues {inherit (pkgs) systemd jq dash gnugrep curl;}; replacementStrings = {SCRIPT_ENSURE_CONFIG_VARIABLES = "${ensure_config_variables}/bin/ensure_config_variables";}; activate = sysLib.writeShellScriptWithLibrary { - dependencies = builtins.attrValues {inherit (pkgs) jq gawk curl coreutils libuuid nix git dash gnugrep;}; + dependencies = builtins.attrValues {inherit (pkgs) jq gawk curl coreutils libuuid nix git;} ++ ensure_config_variables_dependencies; name = "activate"; src = ./01_activate; inherit replacementStrings; }; install = sysLib.writeShellScriptWithLibrary { - dependencies = builtins.attrValues {inherit (pkgs) jq dash curl gawk btrfs-progs coreutils libuuid gptfdisk dosfstools toybox nix git gnugrep;}; + 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; inherit replacementStrings; }; setup = sysLib.writeShellScriptWithLibrary { - dependencies = builtins.attrValues {inherit (pkgs) dash gawk curl git nix gnugrep nixos-install-tools coreutils libuuid jq;}; + 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; inherit replacementStrings; }; config_setup = sysLib.writeShellScriptWithLibrary { - dependencies = builtins.attrValues {inherit (pkgs) git neovim;}; + dependencies = builtins.attrValues {inherit (pkgs) git neovim;} ++ ensure_config_variables_dependencies; name = "config_setup"; src = ./03_config_setup; inherit replacementStrings; |