nixpkgs-suyu/nixos/tests/common/user-account.nix
Eelco Dolstra a323d146b7 Add user attribute isNormalUser
This is shorthand for setting group, createHome, home, useDefaultShell
and isSystemUser.
2014-08-15 02:16:04 +02:00

10 lines
195 B
Nix

{ pkgs, ... }:
{ users.extraUsers = pkgs.lib.singleton
{ isNormalUser = true;
name = "alice";
description = "Alice Foobar";
password = "foobar";
uid = 1000;
};
}