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

{
  imports = [ ./graphical.nix ];

  users.extraUsers.demo =
    { isNormalUser = true;
      description = "Demo user account";
      extraGroups = [ "wheel" ];
      password = "demo";
      uid = 1000;
    };

  services.xserver.displayManager.sddm.autoLogin = {
    enable = true;
    relogin = true;
    user = "demo";
  };
}