Add a demo account to the VirtualBox image
This commit is contained in:
parent
1a2e4f37d0
commit
725da34c8e
|
@ -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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -186,7 +186,7 @@ in {
|
||||||
modules =
|
modules =
|
||||||
[ ./modules/virtualisation/virtualbox-image.nix
|
[ ./modules/virtualisation/virtualbox-image.nix
|
||||||
./modules/installer/cd-dvd/channel.nix
|
./modules/installer/cd-dvd/channel.nix
|
||||||
./modules/profiles/graphical.nix
|
./modules/profiles/demo.nix
|
||||||
];
|
];
|
||||||
}).config;
|
}).config;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue