diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-23 16:59:15 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-23 20:08:21 +0200 |
commit | e29b51bfb1eefe2f8d2dcac4fba8ea734115804c (patch) | |
tree | 520613a7d92a4a5e72953a8c9c048c2f001f2ea4 /nixos/modules | |
parent | 441dcd68d88a2e82aebd3572eae8032fb33d8eaf (diff) | |
download | nixlib-e29b51bfb1eefe2f8d2dcac4fba8ea734115804c.tar nixlib-e29b51bfb1eefe2f8d2dcac4fba8ea734115804c.tar.gz nixlib-e29b51bfb1eefe2f8d2dcac4fba8ea734115804c.tar.bz2 nixlib-e29b51bfb1eefe2f8d2dcac4fba8ea734115804c.tar.lz nixlib-e29b51bfb1eefe2f8d2dcac4fba8ea734115804c.tar.xz nixlib-e29b51bfb1eefe2f8d2dcac4fba8ea734115804c.tar.zst nixlib-e29b51bfb1eefe2f8d2dcac4fba8ea734115804c.zip |
Improve option description
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/system/activation/activation-script.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nixos/modules/system/activation/activation-script.nix b/nixos/modules/system/activation/activation-script.nix index dc0175632174..ff3c844030b6 100644 --- a/nixos/modules/system/activation/activation-script.nix +++ b/nixos/modules/system/activation/activation-script.nix @@ -44,8 +44,12 @@ in }; description = '' - Activate the new configuration (i.e., update /etc, make accounts, - and so on). + A set of shell script fragments that are executed when a NixOS + system configuration is activated. Examples are updating + /etc, creating accounts, and so on. Since these are executed + every time you boot the system or run + <command>nixos-rebuild</command>, it's important that they are + idempotent and fast. ''; merge = mergeTypedOption "script" builtins.isAttrs (fold mergeAttrs {}); |