Commit 901b51af9327

Vincent Demeester <vincent@sbr.pm>
2026-01-12 17:19:28
fix(microshift): enable mutableUsers for CRC setup
CRC setup needs to modify the user to add them to the libvirt group. Enable mutableUsers to allow usermod to work during CRC setup.
1 parent 329cc75
Changed files (1)
modules
microshift
modules/microshift/default.nix
@@ -69,6 +69,9 @@ in
     # Ensure user has libvirt access
     users.users.${cfg.user}.extraGroups = [ "libvirt" ];
 
+    # Make user mutable so CRC can modify it during setup
+    users.mutableUsers = true;
+
     # Allow CRC to use sudo for admin helper setup without password
     # CRC needs chown/chmod for the admin helper executable
     security.sudo.extraRules = [