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

11 lines
233 B
Nix

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