Fix conflicting definition values, force use of

our defined value.

error: The option 'services.getty.autologinUser' has conflicting definition values:
       - In '/nix/store/zyh8f18z0m1r9jppvdcdivfvfxg0j3fv-source/nixos/modules/profiles/installation-device.nix': "nixos"
       - In '/nix/store/w82qigr5jqv9c6jhdrpdwixydk3rmbzw-source/modules/graphical': "pub-solar"
This commit is contained in:
teutat3s 2022-08-29 11:55:20 +02:00
parent 209eed069c
commit c1b672fe70
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -61,7 +61,7 @@ in
};
};
services.getty.autologinUser = mkIf cfg.autologin.enable "${psCfg.user.name}";
services.getty.autologinUser = mkIf cfg.autologin.enable (mkForce "${psCfg.user.name}");
qt5 = {
enable = true;