Add a demo account to the VirtualBox image
This commit is contained in:
parent
1a2e4f37d0
commit
725da34c8e
16
modules/profiles/demo.nix
Normal file
16
modules/profiles/demo.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue