Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

nixosModules.baguette

Download option data.

baguette.ephemeralRoot.enable

Start each boot with a fresh root filesystem. Store root changes in RAM. Boot the base image with vmc start --rootfs. Keep persistent data on a separate writable disk.

Type: boolean

Default:

false

Example:

true

Declared by:

baguette.ephemeralRoot.mountOptions

Set extra options for the first overlay mount. The guest mounts the overlay before systemd starts. Use this option instead of an fstab remount.

Type: list of string

Default:

[ ]

Example:

[
  "nosuid"
  "nodev"
]

Declared by:

baguette.ephemeralRoot.persistMachineId

Keep the machine ID in the state subvolume’s machine-id file. Generate the ID on the first boot. Copy the ID into /etc/machine-id before systemd starts. This option requires baguette.ephemeralRoot.enable.

Type: boolean

Default:

false

Example:

true

Declared by:

baguette.ephemeralRoot.stateMountPoint

Set the mount point for the persistent Btrfs state subvolume. Use bind mounts from this path to keep data between boots.

Type: string matching the pattern /.+

Default:

"/state"

Declared by:

baguette.ephemeralRoot.tmpfsSize

Set the size limit for the tmpfs that stores root changes. Use bytes, a unit such as M or G, or a percentage of RAM. Writes fail with ENOSPC when the tmpfs is full.

Type: string matching the pattern [1-9][0-9]*[kKmMgGtTpPeE%]?

Default:

"1G"

Declared by:

baguette.imageCompression.level

Set the zstd compression level of the base image.

Type: integer between 1 and 19 (both inclusive)

Default:

3

Declared by:

baguette.imageCompression.threads

Set the compression worker count. Use zero for all CPUs.

Type: unsigned integer, meaning >=0

Default:

0

Declared by:

baguette.notifications.enable

Send desktop notifications to ChromeOS.

Type: boolean

Default:

true

Example:

true

Declared by:

baguette.portListener.enable

Send guest listening ports to ChromeOS.

Type: boolean

Default:

true

Example:

true

Declared by:

crostini.extraTools.enable

Install xdg-utils, wl-clipboard, and usbutils.

Type: boolean

Default:

true

Example:

true

Declared by:

crostini.sommelier.stableScaling

Pass --stable-scaling to the X11 sommelier. This matches the ChromeOS setting. GTK 2 windows can increase in size after each resize.

Type: boolean

Default:

false

Example:

true

Declared by:

crostini.sommelier.xwayland.enable

Start Xwayland through the X11 sommelier instances. Set this option to false for Wayland applications that do not need X11. ChromeOS supplies the Xwayland executable on the tools disk.

Type: boolean

Default:

true

Example:

true

Declared by:

crostini.ui.enable

Use the ChromeOS GTK themes, icons, and cursors. ChromeOS supplies CrosAdapta for GTK 3 at /opt/google/cros-containers/cros-adapta. Use a flat style with GTK 2’s built-in theme.

Type: boolean

Default:

true

Example:

true

Declared by:

crostini.ui.adwaita

Set the package that supplies share/icons/Adwaita.

Type: package

Default:

pkgs.adwaita-icon-theme

Declared by:

users.users.<name>.crostini.enable

Register this user with ChromeOS. Enable this option for one normal user.

Type: boolean

Default:

false

Example:

true

Declared by:

virtualisation.buildMemorySize

Set the memory size of the image build VM in MiB.

Type: positive integer, meaning >0

Default:

1024

Declared by:

virtualisation.diskImageSize

Set the Btrfs image size in MiB.

Type: positive integer, meaning >0

Default:

4096

Declared by: