mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
21 lines
358 B
Nix
21 lines
358 B
Nix
{ ... }:
|
|
|
|
{
|
|
imports = [ ./graphical.nix ];
|
|
|
|
users.users.demo =
|
|
{ isNormalUser = true;
|
|
description = "Demo user account";
|
|
extraGroups = [ "wheel" ];
|
|
password = "demo";
|
|
uid = 1000;
|
|
};
|
|
|
|
services.displayManager = {
|
|
autoLogin = {
|
|
enable = true;
|
|
user = "demo";
|
|
};
|
|
sddm.autoLogin.relogin = true;
|
|
};
|
|
}
|