oizys/hosts/laukaz/default.nix

27 lines
775 B
Nix
Raw Normal View History

2024-02-05 12:29:04 -06:00
{
inputs,
pkgs,
...
}: {
2024-02-05 17:12:11 -06:00
## kodi
2024-02-05 17:41:29 -06:00
# users.extraUsers.kodi.isNormalUser = true;
# services.cage.user = "kodi";
# services.cage.program = "${pkgs.kodi-wayland}/bin/kodi-standalone";
# services.cage.enable = true;
2024-02-06 09:43:09 -06:00
services.xserver.enable = true;
services.xserver.desktopManager.kodi.enable = true;
services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "kodi";
users.extraUsers.kodi.isNormalUser = true;
# This may be needed to force Lightdm into 'autologin' mode.
# Setting an integer for the amount of time lightdm will wait
# between attempts to try to autologin again.
services.xserver.displayManager.lightdm.autoLogin.timeout = 3;
2024-02-05 17:12:11 -06:00
##
2024-02-05 12:29:04 -06:00
security.sudo.wheelNeedsPassword = false;
}