mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
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;
|
|
};
|
|
}
|