mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03: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;
|
|
};
|
|
}
|