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