Skip to content

Mixin modules

A full desktop configuration with gnome, multimedia and office tools.

  • enable bool Desktop optimized host configuration
darkone.host.desktop.enable = false;

The main gateway / router of a local network zone.

  • enable bool Enable gateway features for the current host (dhcp, dns, proxy, etc.)
darkone.host.gateway.enable = false;

The main headscale coordination server.

  • enable bool Enable headscale coordination server
  • enableClient bool Enable tailscale client on HCS node (recommended to host services)
darkone.host.hcs = {
enable = false;
enableClient = true;
};

Desktop config + laptop specific tools & configuration.

  • enable bool Laptop optimized host configuration
darkone.host.laptop.enable = false;

Every host configuration is based on this minimal config.

  • enable bool Minimal host configuration
  • secure bool Prefer more secure options (disable mutable users…)
darkone.host.minimal = {
enable = false;
secure = false;
};

Portable configuration for a bootable USB drive containing a NixOS machine from the local network.

  • enable bool Portable host configuration for usb keys
darkone.host.portable.enable = false;

Improved configuration for servers (minimal, no sleep, watchdog…).

  • enable bool Server host minimal configuration
  • enableWatchdog bool Enable systemd watchdog
darkone.host.server = {
enable = false;
enableWatchdog = true;
};

Virtual machines guest tools.

  • enableVirtualbox bool Virtualbox client
  • enableQemu bool Qemu/KVM client
  • enableXen bool Xen client
darkone.host.vm = {
enableVirtualbox = false;
enableQemu = false;
enableXen = false;
};

Profile for advanced users (computer scientists, developers, admins).

  • enable bool Advanced user (admin sys, developper)
darkone.profile.advanced.enable = false;