nixpkgs/nixos/modules/profiles/demo.nix
Eelco Dolstra a323d146b7 Add user attribute isNormalUser
This is shorthand for setting group, createHome, home, useDefaultShell
and isSystemUser.
2014-08-15 02:16:04 +02:00

13 lines
239 B
Nix

{ config, pkgs, ... }:
{
imports = [ ./graphical.nix ];
users.extraUsers.demo =
{ isNormalUser = true;
description = "Demo user account";
extraGroups = [ "wheel" ];
password = "demo";
uid = 1000;
};
}