forked from mirrors/nixpkgs
a323d146b7
This is shorthand for setting group, createHome, home, useDefaultShell and isSystemUser.
11 lines
195 B
Nix
11 lines
195 B
Nix
{ pkgs, ... }:
|
|
|
|
{ users.extraUsers = pkgs.lib.singleton
|
|
{ isNormalUser = true;
|
|
name = "alice";
|
|
description = "Alice Foobar";
|
|
password = "foobar";
|
|
uid = 1000;
|
|
};
|
|
}
|