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

12 lines
233 B
Nix

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