nixpkgs/nixos/tests/common/user-account.nix

13 lines
251 B
Nix
Raw Normal View History

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