about summary refs log tree commit diff
path: root/nixos/modules/profiles/demo.nix
blob: 52ba40902e87a8fee20d5515bf8ba8c81b945f19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ ... }:

{
  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;
  };
}