forked from mirrors/nixpkgs
a323d146b7
This is shorthand for setting group, createHome, home, useDefaultShell and isSystemUser.
14 lines
239 B
Nix
14 lines
239 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./graphical.nix ];
|
|
|
|
users.extraUsers.demo =
|
|
{ isNormalUser = true;
|
|
description = "Demo user account";
|
|
extraGroups = [ "wheel" ];
|
|
password = "demo";
|
|
uid = 1000;
|
|
};
|
|
}
|