Unverified Commit a7e1ea97 authored by Jared Baur's avatar Jared Baur
Browse files

nixos/perlless: enable switch-to-configuration-ng for perlless profile

The switch-to-configuration-ng program provides a perl-free way of
switching nixos systems, we can use it for the perlless profile.
parent 165dfa10
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -6,10 +6,12 @@

{

  # Disable switching to a new configuration. This is not a necessary
  # limitation of a perlless system but just a current one. In the future,
  # perlless switching might be possible.
  system.switch.enable = lib.mkDefault false;
  # switch-to-configuration-ng reimplements switch-to-configuration, but
  # without perl.
  system.switch = lib.mkDefault {
    enable = false;
    enableNg = true;
  };

  # Remove perl from activation
  boot.initrd.systemd.enable = lib.mkDefault true;