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

12 lines
251 B
Nix

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