Merge pull request 'Introduce option to enable autologin' (#83) from feature/add-flag-to-enable-autologin into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/83 Reviewed-by: teutat3s <teutates@mailbox.org>
This commit is contained in:
commit
b751593368
|
@ -26,6 +26,11 @@ in
|
||||||
default = { };
|
default = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
autologin.enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = true;
|
||||||
|
description = "Feature flag enabling autologin after boot.";
|
||||||
|
};
|
||||||
wayland.software-renderer.enable = mkOption {
|
wayland.software-renderer.enable = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
|
@ -54,7 +59,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.getty.autologinUser = mkForce "${psCfg.user.name}";
|
services.getty.autologinUser = mkIf cfg.autologin.enable "${psCfg.user.name}";
|
||||||
|
|
||||||
qt5 = {
|
qt5 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue