about summary refs log tree commit diff
path: root/nixos/modules/module-list.nix
diff options
context:
space:
mode:
authornikstur <nikstur@outlook.com>2023-10-14 01:29:05 +0200
committernikstur <nikstur@outlook.com>2023-10-26 17:47:35 +0200
commitb3c1d8c9aea817c66e8a6384a345390ac36f40eb (patch)
tree3641d946d7ed946d3869d37135cc473e92793a3d /nixos/modules/module-list.nix
parentf743f021fccbccac6dbf38d3f6700002d839a3d4 (diff)
downloadnixlib-b3c1d8c9aea817c66e8a6384a345390ac36f40eb.tar
nixlib-b3c1d8c9aea817c66e8a6384a345390ac36f40eb.tar.gz
nixlib-b3c1d8c9aea817c66e8a6384a345390ac36f40eb.tar.bz2
nixlib-b3c1d8c9aea817c66e8a6384a345390ac36f40eb.tar.lz
nixlib-b3c1d8c9aea817c66e8a6384a345390ac36f40eb.tar.xz
nixlib-b3c1d8c9aea817c66e8a6384a345390ac36f40eb.tar.zst
nixlib-b3c1d8c9aea817c66e8a6384a345390ac36f40eb.zip
nixos: add system.switch.enable flag
This flag allows the user to optionally exclude
switch-to-confguration.pl from toplevel.

This is interesting for appliance images where you don't want to re-build
the system. This flag is called `rebuildable` because the standard
interface to do this is `nixos-rebuild` which will not work anymore with
this change.
Diffstat (limited to 'nixos/modules/module-list.nix')
-rw-r--r--nixos/modules/module-list.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index 2c06f4931725..496943ad33a2 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -1392,6 +1392,7 @@
   ./system/activation/activatable-system.nix
   ./system/activation/activation-script.nix
   ./system/activation/specialisation.nix
+  ./system/activation/switchable-system.nix
   ./system/activation/bootspec.nix
   ./system/activation/top-level.nix
   ./system/boot/binfmt.nix