deCort.tech – Nix & Darwin systems Options

_module.args Link copied!

Type: lazy attribute set of raw value

Additional arguments passed to each module in addition to ones like lib, config, and pkgs, modulesPath.

This option is also available to all submodules. Submodules do not inherit args from their parent module, nor do they provide args to their parent module or sibling submodules. The sole exception to this is the argument name which is provided by parent modules to a submodule and contains the attribute name the submodule is bound to, or a unique generated name if it is not bound to an attribute.

Some arguments are already passed by default, of which the following cannot be changed with this option:

  • lib: The nixpkgs library.

  • config: The results of all options after merging the values from all modules together.

  • options: The options declared in all modules.

  • specialArgs: The specialArgs argument passed to evalModules.

  • All attributes of specialArgs

    Whereas option values can generally depend on other option values thanks to laziness, this does not apply to imports, which must be computed statically before anything else.

    For this reason, callers of the module system can provide specialArgs which are available during import resolution.

    For NixOS, specialArgs includes modulesPath, which allows you to import extra modules from the nixpkgs package tree without having to somehow make the module aware of the location of the nixpkgs or NixOS directories.

    { modulesPath, ... }: {
      imports = [
        (modulesPath + "/profiles/minimal.nix")
      ];
    }
    

For NixOS, the default value for this option includes at least this argument:

  • pkgs: The nixpkgs package set according to the nixpkgs.pkgs option.
Declared in:

dc-tec.colorScheme.accent Link copied!

Type: string

Default accent for the color scheme.

Default: "peach"

dc-tec.colorScheme.flavor Link copied!

Type: string

Default flavor for the color scheme.

Default: "macchiato"

dc-tec.core Link copied!

Type: submodule

Namespace for Linux-only core settings. Empty on Darwin.

Default: { }

dc-tec.core.wireless.enable Link copied!

Type: boolean

Whether to enable wireless.

Default: false
Example: true

dc-tec.core.zfs.enable Link copied!

Type: boolean

Whether to enable zfs.

Default: false
Example: true

dc-tec.core.zfs.encrypted Link copied!

Type: boolean

Whether to enable zfs request credentials.

Default: false
Example: true

dc-tec.core.zfs.ensureHomeExists Link copied!

Type: unspecified value

List of home directories to ensure exist on boot

Default: [ ]
Example:
[
  ".ssh"
]

dc-tec.core.zfs.ensureSystemExists Link copied!

Type: unspecified value

List of system directories to ensure exist on boot

Default: [ ]
Example:
[
  "/data/etc/ssh"
]

dc-tec.core.zfs.rootDataset Link copied!

Type: unspecified value

ZFS root dataset for rollback functionality

Default: ""
Example: "rpool/local/root"

dc-tec.development-packages.enable Link copied!

Type: boolean

Whether to enable shared development packages.

Default: false
Example: true

dc-tec.development-packages.tools.cloud Link copied!

Type: boolean

Whether to enable Cloud tools.

Default: false
Example: true

dc-tec.development-packages.tools.database Link copied!

Type: boolean

Whether to enable Database tools.

Default: false
Example: true

dc-tec.development-packages.tools.dev Link copied!

Type: boolean

Whether to enable Dev Tools.

Default: false
Example: true

dc-tec.development-packages.tools.go Link copied!

Type: boolean

Whether to enable Go development.

Default: false
Example: true

dc-tec.development-packages.tools.iac Link copied!

Type: boolean

Whether to enable IaC tools.

Default: false
Example: true

dc-tec.development-packages.tools.infra Link copied!

Type: boolean

Whether to enable Infrastructure tools.

Default: false
Example: true

dc-tec.development-packages.tools.k8s Link copied!

Type: boolean

Whether to enable Kubernetes tools.

Default: false
Example: true

dc-tec.development-packages.tools.networking Link copied!

Type: boolean

Whether to enable Networking tools.

Default: false
Example: true

dc-tec.development-packages.tools.python Link copied!

Type: boolean

Whether to enable Python development.

Default: false
Example: true

dc-tec.development-packages.tools.security Link copied!

Type: boolean

Whether to enable Security tools.

Default: false
Example: true

dc-tec.development.virtualisation.docker.enable Link copied!

Type: boolean

Whether to enable docker.

Default: false
Example: true

dc-tec.development.virtualisation.hypervisor.enable Link copied!

Type: boolean

Whether to enable Libvirt/KVM.

Default: false
Example: true

dc-tec.font Link copied!

Type: string

Default font for the system.

dc-tec.graphical.applications.firefox.enable Link copied!

Type: boolean

Whether to enable firefox.

Default: false
Example: true

dc-tec.graphical.applications.obsidian.enable Link copied!

Type: boolean

Whether to enable obsidian.

Default: false
Example: true

dc-tec.graphical.enable Link copied!

Type: boolean

Whether to enable graphical environment.

Default: false
Example: true

dc-tec.graphical.fuzzel.enable Link copied!

Type: boolean

Whether to enable fuzzel.

Default: false
Example: true

dc-tec.graphical.hyprland.enable Link copied!

Type: boolean

Whether to enable hyprlandwm.

Default: false
Example: true

dc-tec.graphical.hyprlock.enable Link copied!

Type: boolean

Whether to enable hyprlock.

Default: false
Example: true

dc-tec.graphical.hyprpaper.enable Link copied!

Type: boolean

Whether to enable hyprpaper.

Default: false
Example: true

dc-tec.graphical.key_management.enable Link copied!

Type: boolean

Whether to enable key management.

Default: false
Example: true

dc-tec.graphical.laptop Link copied!

Type: boolean

Whether to enable laptop configuration.

Default: false
Example: true

dc-tec.graphical.sound.enable Link copied!

Type: boolean

Whether to enable Sound.

Default: false
Example: true

dc-tec.graphical.swaync.enable Link copied!

Type: boolean

Whether to enable Enable swaync.

Default: false
Example: true

dc-tec.graphical.theme.enable Link copied!

Type: unspecified value

Enable graphical theme configuration including fonts, GTK, and Qt theming

Default: true

dc-tec.graphical.waybar.enable Link copied!

Type: boolean

Whether to enable Waybar Status Bar.

Default: false
Example: true

dc-tec.graphical.xdg.enable Link copied!

Type: boolean

Whether to enable xdg folders.

Default: false
Example: true

dc-tec.isDarwin Link copied!

Type: boolean

Whether the host is a Darwin system.

dc-tec.isLinux Link copied!

Type: boolean

Whether the host is a Linux system.

dc-tec.persistence.cachePrefix Link copied!

Type: string

Prefix for persistent cache storage

Default: "/cache"

dc-tec.persistence.dataPrefix Link copied!

Type: string

Prefix for persistent data storage

Default: "/data"

dc-tec.persistence.enable Link copied!

Type: boolean

Whether to enable Enable persistence/impermanence.

Default: false
Example: true

dc-tec.stateVersion Link copied!

Type: string

NixOS state version

Example: "23.11"

dc-tec.timeZone Link copied!

Type: string

Time zone for the system.

Default: "Europe/Amsterdam"

dc-tec.user.editor Link copied!

Type: string

Default editor

Default: "nvim"

dc-tec.user.email Link copied!

Type: string

User email address

Default: "roel@decort.tech"

dc-tec.user.fullName Link copied!

Type: string

User full name

Default: "Roel de Cort"

dc-tec.user.gpgKey Link copied!

Type: string

User GPG key

Default: "F95CABF0B7D54D8087FF9B3E321EAD1FC3C51961"

dc-tec.user.name Link copied!

Type: string

Primary user name

Default: "roelc"

dc-tec.user.shell Link copied!

Type: string

Default shell

Default: "zsh"

dc-tec.user.workEmail Link copied!

Type: string

Work email address

Default: "roel.decort@adfinis.com"