mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
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;
|
|
};
|
|
}
|