Add a demo account to the VirtualBox image

This commit is contained in:
Eelco Dolstra 2013-07-02 00:55:54 +02:00
parent 1a2e4f37d0
commit 725da34c8e
2 changed files with 17 additions and 1 deletions

16
modules/profiles/demo.nix Normal file
View File

@ -0,0 +1,16 @@
{ config, pkgs, ... }:
{
#require = [ ./graphical.nix ];
users.extraUsers.demo =
{ description = "Demo user account";
group = "users";
extraGroups = [ "wheel" ];
home = "/home/demo";
createHome = true;
useDefaultShell = true;
password = "demo";
isSystemUser = false;
};
}

View File

@ -186,7 +186,7 @@ in {
modules =
[ ./modules/virtualisation/virtualbox-image.nix
./modules/installer/cd-dvd/channel.nix
./modules/profiles/graphical.nix
./modules/profiles/demo.nix
];
}).config;