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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user