1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

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.
This commit is contained in:
Jared Baur 2024-06-05 20:12:09 -07:00
parent 165dfa10e2
commit a7e1ea970b
No known key found for this signature in database

View file

@ -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;