audio.enable

Whether to enable sound or not

type

boolean

default

{
  audio.enable = true;
}

booting.enable

Whether to enable Enable default host configuration.

type

boolean

example

{
  booting.enable = true;
}

default

{
  booting.enable = false;
}

booting.portable.enable

Whether to enable Cofigure NixOS for a removable drive (compatible with both MBR and EFI loaders) TODO describe partition setup required .

type

boolean

example

{
  booting.portable.enable = true;
}

default

{
  booting.portable.enable = false;
}

booting.portable.device

Drive device ID (not to be confused with partition ID) in which to install GRUB. Can be gotten from ls TODO

type

string

example

{
  booting.portable.device = "/dev/disk/by-id/ata-KINGSTON_SA400S37960G_0123456789ABCDEF";
}

default

{
  booting.portable.device = null;
}

booting.portable.efiSysMountPoint

Mount point for EFI system

type

string

default

{
  booting.portable.efiSysMountPoint = "/efi";
}

booting.tmpOnTmpfs

Whether to mount /tmp on RAM or not

type

boolean

example

{
  booting.tmpOnTmpfs = false;
}

default

{
  booting.tmpOnTmpfs = true;
}

booting.useOSProber

Whether to enable Whether to search for other operational systems for boot menu or not .

type

boolean

example

{
  booting.useOSProber = true;
}

default

{
  booting.useOSProber = false;
}

encription.enable

Whether to enable GPG agent or not

type

boolean

default

{
  encription.enable = true;
}

graphics.nvidia.enable

Whether to enable Enable NVidia configuration.

type

boolean

example

{
  graphics.nvidia.enable = true;
}

default

{
  graphics.nvidia.enable = false;
}

gui.enable

Whether to enable Enable default gui configuration.

type

boolean

example

{
  gui.enable = true;
}

default

{
  gui.enable = false;
}

gui.bspwm.enable

Whether to enable Enable BSPWM (and SXHKD).

type

boolean

example

{
  gui.bspwm.enable = true;
}

default

{
  gui.bspwm.enable = false;
}

gui.bspwm.window.borderWidth

Window border width

type

signed integer

default

{
  gui.bspwm.window.borderWidth = 3;
}

gui.bspwm.window.gap

Gap between windows

type

signed integer

default

{
  gui.bspwm.window.gap = 22;
}

gui.polybar.enable

Whether to enable Enable default polybar configuration.

type

boolean

example

{
  gui.polybar.enable = true;
}

default

{
  gui.polybar.enable = false;
}

gui.scriptPath

Script that runs the user's graphical interface

type

string

example

{
  gui.scriptPath = ".hm-xsession";
}

default

{
  gui.scriptPath = ".xsession";
}

gui.xfce.enable

Whether to enable Enable BSPWM (and SXHKD).

type

boolean

example

{
  gui.xfce.enable = true;
}

default

{
  gui.xfce.enable = false;
}

gui.xfce.enableScreensaver

Enable the XFCE screensaver.

type

boolean

default

{
  gui.xfce.enableScreensaver = true;
}

gui.xfce.enableXfwm

Enable the XFWM (default) window manager.

type

boolean

default

{
  gui.xfce.enableXfwm = true;
}

gui.xfce.noDesktop

Don't install XFCE desktop components (xfdesktop and panel).

type

boolean

default

{
  gui.xfce.noDesktop = false;
}

gui.xfce.thunarPlugins

A list of plugin that should be installed with Thunar.

type

list of package

example

{
  gui.xfce.thunarPlugins = {
    _type = "literalExpression";
    text = "[ pkgs.xfce.thunar-archive-plugin ]";
  };
}

default

{
  gui.xfce.thunarPlugins = [];
}

keyboard.enable

Whether to enable Enable default host configuration.

type

boolean

example

{
  keyboard.enable = true;
}

default

{
  keyboard.enable = false;
}

keyboard.gui.layout

type

string

example

{
  keyboard.gui.layout = "us";
}

default

{
  keyboard.gui.layout = "us";
}

keyboard.gui.options

type

string

example

{
  keyboard.gui.options = "";
}

default

{
  keyboard.gui.options = "caps:swapescape";
}

keyboard.gui.variant

type

string

example

{
  keyboard.gui.variant = "intl";
}

default

{
  keyboard.gui.variant = null;
}

keyboard.tty.layout

type

string

example

{
  keyboard.tty.layout = "de";
}

default

{
  keyboard.tty.layout = "us";
}

mouse.enable

Enable default mouse configuration

type

boolean

default

{
  mouse.enable = true;
}

mouse.touchPad

Enable touch pad configuration

type

boolean

default

{
  mouse.touchPad = true;
}

network.enable

Whether to enable Whether to enable network configuration or not.

type

boolean

example

{
  network.enable = true;
}

default

{
  network.enable = false;
}

network.interfaces

Network interfaces

type

list of string

example

{
  network.interfaces = [
    "enp2s0"
    "wlp3s0"
  ];
}

default

{
  network.interfaces = [];
}

network.sshServer

Whether to use OpenSSH or not

type

boolean

default

{
  network.sshServer = false;
}

network.useDHCP

Whether to use DHCP or not

type

boolean

default

{
  network.useDHCP = true;
}

permissions.enable

Whether to enable Enable default user configurations.

type

boolean

example

{
  permissions.enable = true;
}

default

{
  permissions.enable = false;
}

permissions.defaultGroups

Groups every user belongs to

type

list of Concatenated string

example

{
  permissions.defaultGroups = {
    _type = "literalExpression";
    text = "[ "lp" ]";
  };
}

default

{
  permissions.defaultGroups = [];
}

permissions.defaultUserShell

Default user shell

type

package

example

{
  permissions.defaultUserShell = {
    _type = "literalExpression";
    text = "pkgs.bash";
  };
}

default

{
  permissions.defaultUserShell = {
    drvPath = "zsh-5.8.1";
    name = "zsh-5.8.1";
    outPath = "zsh-5.8.1";
    type = "derivation";
  };
}

permissions.users

Set of users for the machine

type

attribute set

example

{
  permissions.users = {
    _type = "literalExpression";
    text = ''
      {
              "marcos" = {
                isNormalUser = true;
                extraGroups = [ "wheel" ];
              };
              "family" = {
                isNormalUser = true;
              };
            }
    '';
  };
}

default

{
  permissions.users = {};
}

printer.enable

Enable default printing configuration

type

boolean

default

{
  printer.enable = true;
}

printer.drivers

Extra printing drivers

type

list of package

example

{
  printer.drivers = "[ pkgs.epson-escpr ]";
}

default

{
  printer.drivers = [];
}

typeface.enable

Whether to enable Enable default font configuration.

type

boolean

example

{
  typeface.enable = true;
}

default

{
  typeface.enable = false;
}

typeface.console

Font for the TTY console

type

string

example

{
  typeface.console = "...";
}

default

{
  typeface.console = "Lat2-Terminus16";
}

variables.enable

Enable session variables configuration

type

boolean

default

{
  variables.enable = true;
}

variables.definitions

Extra variables

type

attribute set of string

example

{
  variables.definitions = {
    _type = "literalExpression";
    text = "{ EDITOR = "nano"; }";
  };
}

default

{
  variables.definitions = {};
}

variables.useDefault

Whether to use default environment variables or not

type

boolean

default

{
  variables.useDefault = true;
}