mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03: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;
|
|
};
|
|
}
|