mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
a323d146b7
This is shorthand for setting group, createHome, home, useDefaultShell and isSystemUser.
13 lines
239 B
Nix
13 lines
239 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./graphical.nix ];
|
|
|
|
users.extraUsers.demo =
|
|
{ isNormalUser = true;
|
|
description = "Demo user account";
|
|
extraGroups = [ "wheel" ];
|
|
password = "demo";
|
|
uid = 1000;
|
|
};
|
|
}
|