diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2016-12-04 10:38:21 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2016-12-04 10:38:21 +0100 |
| commit | 7b3ace08c53d2555dc95d37b3b414b99055cf6ff (patch) | |
| tree | ed22d3599dd4fe42e6e08139bd07d69e4c630edf /modules/system/activation-scripts.nix | |
| parent | 9a5af2ee4a7530e36c400525098ca1990eaea27b (diff) | |
add service module for system activation
Diffstat (limited to 'modules/system/activation-scripts.nix')
| -rw-r--r-- | modules/system/activation-scripts.nix | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/modules/system/activation-scripts.nix b/modules/system/activation-scripts.nix index fe3131d..fda882f 100644 --- a/modules/system/activation-scripts.nix +++ b/modules/system/activation-scripts.nix @@ -34,19 +34,6 @@ in config = { - system.build.activate = pkgs.writeScript "activate-system" '' - #! ${pkgs.stdenv.shell} - - # Make this configuration the current configuration. - # The readlink is there to ensure that when $systemConfig = /system - # (which is a symlink to the store), /run/current-system is still - # used as a garbage collection root. - ln -sfn $(cat /nix/var/nix/profiles/system/systemConfig) /run/current-system - - # Prevent the current configuration from being garbage-collected. - ln -sfn /run/current-system /nix/var/nix/gcroots/current-system - ''; - system.activationScripts.script.text = '' #! ${pkgs.stdenv.shell} |
