mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
490cd7889e
Co-authored-by: volth <volth@volth.com>
22 lines
366 B
Nix
22 lines
366 B
Nix
{ ... }:
|
|
|
|
{
|
|
imports = [ ./graphical.nix ];
|
|
|
|
users.users.demo =
|
|
{ isNormalUser = true;
|
|
description = "Demo user account";
|
|
extraGroups = [ "wheel" ];
|
|
password = "demo";
|
|
uid = 1000;
|
|
};
|
|
|
|
services.xserver.displayManager = {
|
|
autoLogin = {
|
|
enable = true;
|
|
user = "demo";
|
|
};
|
|
sddm.autoLogin.relogin = true;
|
|
};
|
|
}
|