nixpkgs/nixos/modules/profiles/demo.nix

20 lines
356 B
Nix
Raw Normal View History

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