7 [ ../virtualisation/virtualbox-image.nix
8 ../installer/cd-dvd/channel.nix
10 ../profiles/clone-config.nix
13 # FIXME: UUID detection is currently broken
14 boot.loader.grub.fsIdentifier = "provided";
16 # Allow mounting of shared folders.
17 users.users.demo.extraGroups = [ "vboxsf" ];
19 # Add some more video drivers to give X11 a shot at working in
21 services.xserver.videoDrivers = mkOverride 40 [ "virtualbox" "vmware" "cirrus" "vesa" "modesetting" ];
23 powerManagement.enable = false;
24 system.stateVersion = lib.mkDefault lib.trivial.release;
26 installer.cloneConfigExtra = ''
27 # Let demo build as a trusted user.
28 # nix.settings.trusted-users = [ "demo" ];
30 # Mount a VirtualBox shared folder.
31 # This is configurable in the VirtualBox menu at
32 # Machine / Settings / Shared Folders.
33 # fileSystems."/mnt" = {
35 # device = "nameofdevicetomount";
39 # By default, the NixOS VirtualBox demo image includes SDDM and Plasma.
40 # If you prefer another desktop manager or display manager, you may want
41 # to disable the default.
42 # services.xserver.desktopManager.plasma5.enable = lib.mkForce false;
43 # services.displayManager.sddm.enable = lib.mkForce false;
45 # Enable GDM/GNOME by uncommenting above two lines and two lines below.
46 # services.xserver.displayManager.gdm.enable = true;
47 # services.xserver.desktopManager.gnome.enable = true;
50 # time.timeZone = "Europe/Amsterdam";
52 # List packages installed in system profile. To search, run:
54 # environment.systemPackages = with pkgs; [
58 # Enable the OpenSSH daemon.
59 # services.openssh.enable = true;