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

12 lines
233 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";
};
}