nixpkgs-suyu/nixos/modules/profiles/demo.nix

16 lines
327 B
Nix

{ config, pkgs, ... }:
{
imports = [ ./graphical.nix ];
users.extraUsers.demo =
{ description = "Demo user account";
group = "users";
extraGroups = [ "wheel" ];
home = "/home/demo";
createHome = true;
useDefaultShell = true;
password = "demo";
isSystemUser = false;
};
}