Skip to content

Latest commit

 

History

History
1469 lines (780 loc) · 27.3 KB

OPTIONS.md

File metadata and controls

1469 lines (780 loc) · 27.3 KB

NixOS Module Options

install and configure bat

Type: boolean

Default: false

Example: true

Enable batman for reading manpages.

Type: lib.types.bool

Default: true

install Bitwarden

Type: boolean

Default: false

Example: true

use Bitwarden as the ssh-agent

Type: boolean

Default: false

Example: true

install and configure btop

Type: boolean

Default: false

Example: true

install and configure carapace

Type: boolean

Default: false

Example: true

Completion overlays to install in the carapace config directory.

Type: lib.types.attrsOf yamlFormat.type

Default: { }

install devenv

Type: boolean

Default: false

Example: true

show git info in the shell prompt

Type: boolean

Default: false

Example: true

install direnv

Type: boolean

Default: false

Example: true

hide the environment variable diff

Type: boolean

Default: false

Example: true

install BetterDiscord

Type: boolean

Default: false

Example: true

enable Discord config

Type: boolean

Default: false

Example: true

the installation source for Discord

Type: lib.types.enum [ "flatpak" ]

Default: "flatpak"

whether Discord is supported on the current platform

Type: lib.types.bool

Default: pkgs.stdenv.hostPlatform.isLinux

install and configure ets

Type: boolean

Default: false

Example: true

install and configure eza as a replacement for ls

Type: boolean

Default: false

Example: true

Enable shell aliases.

Type: lib.types.bool

Default: true

the theme to use

Type: lib.types.enum themes.all

Default: "base16"

install and configure fd

Type: boolean

Default: false

Example: true

Ignore files inside .git

Type: lib.types.bool

Default: true

Ignore system files created by MacOS.

Type: lib.types.bool

Default: pkgs.stdenv.hostPlatform.isDarwin

install and configure fish

Type: boolean

Default: false

Example: true

fix the PATH variable on login

Type: lib.types.bool

Default: pkgs.stdenv.hostPlatform.isDarwin

use as $SHELL

Type: boolean

Default: false

Example: true

install and configure fzf

Type: boolean

Default: false

Example: true

install and configure git

Type: boolean

Default: false

Example: true

Add git fixup command

Type: lib.types.bool

Default: false

install the act command-line tool for locally running GitHub Actions

Type: boolean

Default: false

Example: true

Ignore system files created by MacOS.

Type: lib.types.bool

Default: pkgs.stdenv.hostPlatform.isDarwin

show git info in the shell prompt

Type: boolean

Default: false

Example: true

Use delta to show diffs.

Type: lib.types.bool

Default: true

Use dyff to show diffs between YAML files.

Type: lib.types.bool

Default: true

the container architecture to use for runners

Type: lib.types.str

Default: ""

Example: "linux/amd64"

install and configure act, the local GitHub Actions runner

Type: boolean

Default: false

Example: true

extra values to add to .actrc

Type: lib.types.lines

Default: ""

the hostname of the GitHub Enterprise instance, if using one

Type: lib.types.str

Default: ""

Example: "github.my-company.com"

the act package to install

Type: lib.types.package

Default: pkgs.act

the available runners (platforms) and their Docker images

Type: lib.types.attrsOf (lib.types.str)

Default: { }

Example:

{
  "ubuntu-18.04" = "nektos/act-environments-ubuntu:18.04";
}

install and configure the github CLI tool

Type: boolean

Default: false

Example: true

install the stack extension

Type: lib.types.bool

Default: true

The general color scheme used throughout various programs.

Type:

types.enum [
  "dark"
  "light"
  "auto"
]

Default: "auto"

the monospace font family used for displaying code.

Type: fontType

Default:

{
  package = pkgs.nerd-fonts.jetbrains-mono;
  family-name = "JetBrainsMonoNL Nerd Font";
}

the monospace font family used for the terminal.

Type: fontType

Default: config.my-dotfiles.global.font-category.code

NerdFonts are supported and installed

Type: boolean

Default: false

Example: true

install glow

Type: boolean

Default: false

Example: true

the theme to use

Type: lib.types.enum (themes.all)

Default: "base16"

alias to list resources by name

Type: lib.types.bool

Default: false

use kubecolor for kubectl output

Type: lib.types.bool

Default: true

the kubecolor package to install

Type: lib.types.package

Default: pkgs.kubecolor

install kubectl

Type: boolean

Default: false

Example: true

install kubectl-klock

Type: boolean

Default: false

Example: true

the kubectl-klock package to install

Type: lib.types.package

Default: pkgs.kubectl-klock

extra kubectl aliases to add to the kuberc file

Type: lib.types.attrsOf kuberc.types.aliasOverride

Default: { }

Example:

{
  gety = {
    command = "get";
    options = {
      output = {
        default = "yaml";
      };
    };
  };
}

extra default option overrides for specific kubectl subcommands

Type: lib.types.attrsOf kuberc.types.commandDefaults

Default: { }

Example:

{
  apply = {
    options = {
      server-side = {
        default = "true";
      };
    };
  };
}

the kubectl package to install

Type: lib.types.package

Default: pkgs.kubectl

use server-side apply by default

Type: lib.types.bool

Default: true

enable the k alias

Type: lib.types.bool

Default: true

the command to alias for the k alias

Type: lib.types.str

Default: "kubectl"

enable the kd alias

Type: lib.types.bool

Default: true

the command to alias for the kd alias

Type: lib.types.str

Default: "kubectl describe"

enable the kg alias

Type: lib.types.bool

Default: true

the command to alias for the kg alias

Type: lib.types.str

Default: "kubectl get"

enable the kgo alias

Type: lib.types.bool

Default: true

the command to alias for the kgo alias

Type: lib.types.str

Default: "kubectl get -oyaml"

enable the klog alias

Type: lib.types.bool

Default: true

the command to alias for the klog alias

Type: lib.types.str

Default: "kubectl logs"

enable the kwatch alias

Type: lib.types.bool

Default: true

the command to alias for the kwatch alias

Type: lib.types.str

Default: "kubectl watch"

add shell aliases and abbreviations for kubectl commands

Type: lib.types.bool

Default: true

install kubesel

Type: boolean

Default: false

Example: true

add fish shell aliases and abbreviations for kubesel commands

Type: lib.types.bool

Default: cfg.enableShellAliases

add shell aliases and abbreviations for kubesel commands

Type: lib.types.bool

Default: true

show kubesel info in the shell prompt

Type: boolean

Default: false

Example: true

override the name or color for specific clusters

Type: lib.types.attrs

Default: { }

Example:

{
  "docker-desktop" = {
    name = "docker";
    fg = "#FFFFFF";
    bg = "#1D63ED";
  };
}

glob pattern matching kubeconfig files

Type: lib.types.nullOr lib.types.str

Default: null

Example: "~/.kube/configs/*.yaml"

the kubesel package to install

Type: lib.types.package

Default: pkgs.kubesel

install and configure lf

Type: boolean

Default: false

Example: true

The colorscheme used for dark mode.

Type: lib.types.str

Default: "monokai-pro"

The colorscheme used for light mode.

Type: lib.types.str

Default: "catppuccin-latte"

Column numbers to draw a ruler at.

Type: lib.types.listOf lib.types.int

Default:

[
  80
  120
]

neovim

Type: boolean

Default: false

Example: true

Enable git integrations.

Type: lib.types.bool

Default: config.programs.git.enable

Enable hex editing with xxd.

Type: lib.types.bool

Default: false

Display the keymap after a short delay.

Type: lib.types.nullOr lib.types.bool

Default: true

Change the key.

Type: lib.types.nullOr lib.types.str

Default: "<Space>"

Create cvim alias for using neovim as a pager.

Type: lib.types.bool

Default: false

Create yvim alias for using neovim as YAML pager.

Type: lib.types.bool

Default: false

Enable nix syntax support (treesitter).

Type: lib.types.bool

Default: false

Enable yaml syntax support (treesitter).

Type: lib.types.bool

Default: false

Dim unfocused panes.

Type: lib.types.bool

Default: true

Enable support for using Nerdfonts.

Type: lib.types.bool

Default: cfgGlobal.nerdfonts

Use a transparent background.

Type: lib.types.bool

Default: false

install and configure oh-my-posh

Type: boolean

Default: false

Example: true

use oh-my-posh on fish

Type: lib.types.bool

Default: true

Type: lib.types.attrsOf lib.types.attrs

Default: { }

Example:

{
  something = {
    style = "diamond";
    leading_diamond = " ";
    trailing_diamond = "";
    type = "text";
    background = "red";
    template = " foo ";
  };
}

Type: lib.types.attrsOf lib.types.attrs

Default: { }

user text is entered on a new line

Type: lib.types.bool

Default: true

Type: lib.types.attrsOf lib.types.attrs

Default: { }

Example:

{
  something = {
    style = "diamond";
    leading_diamond = " ";
    trailing_diamond = "";
    type = "text";
    background = "red";
    template = " foo ";
  };
}

render slow prompt segments in the background

Type: boolean

Default: false

Example: true

max time to wait before showing the incomplete prompt

Type: lib.types.int

Default: 100

install and configure ranger

Type: boolean

Default: false

Example: true

use glow to open markdown files

Type: boolean

Default: false

Example: true

use glow to preview markdown files

Type: boolean

Default: false

Example: true

install ripgrep

Type: boolean

Default: false

Example: true

install vicinae

Type: boolean

Default: false

Example: true

add bookmark support

Type: boolean

Default: false

Example: true

The color scheme used for Visual Studio Code.

Type:

lib.types.enum [
  "dark"
  "light"
  "auto"
]

Default: config.my-dotfiles.global.colorscheme

Extra hyperlink schemes that are allowed to be opened.

Type: lib.types.listOf lib.types.str

Default: [ ]

Include the default hyperlink schemes that are allowed to be opened.

Type: lib.types.bool

Default: true

add GitHub Copilot to Visual Studio Code

Type: boolean

Default: false

Example: true

Extra packages to install.

Type: my-dotfiles.lib.types.functionListTo lib.types.package

Default: (pkgs: [ ])

Example:

(
  pkgs: with pkgs; [
    gcc
    rustc
  ]
)

Unfree packages to allow.

Type: lib.types.listOf lib.types.str

Default: [ ]

Example: [ "vscode-extension-ms-vscode-remote-remote-ssh" ]

add support for running VS Code in dev containers

Type: boolean

Default: false

Example: true

add devenv support

Type: boolean

Default: false

Example: true

Column numbers to draw a ruler at.

Type: lib.types.listOf lib.types.int

Default:

[
  80
  120
]

Highlight trailing whitespace.

Type: lib.types.bool

Default: true

install and configure Visual Studio Code

Type: boolean

Default: false

Example: true

Use a FHS environment for VS Code.

Type: lib.types.bool

Default: false

add GitHub-centric extensions

Type: boolean

Default: false

Example: true

Map Ctrl-W to control panes and focus

Type: boolean

Default: false

Example: true

custom keybindings

Type: lib.types.listOf vscode.types.keybind

Default: [ ]

show a help menu for multi-key key bindings

Type: boolean

Default: false

Example: true

use alternate keybindings

Type:

lib.types.enum [
  "default"
  "intellij"
]

Default: "default"

add Kubernetes-centric extensions

Type: boolean

Default: false

Example: true

add Bash language support to Visual Studio Code

Type: boolean

Default: false

Example: true

the shellcheck package

Type: lib.types.package

Default: pkgs.shellcheck

the Go compiler package

Type: any

Default: pkgs.go

install the Go debugger, dlv

Type: lib.types.bool

Default: true

the dlv package

Type: any

Default: pkgs.delve

add Go language support to Visual Studio Code

Type: boolean

Default: false

Example: true

install golangci-lint for linting Go source code

Type: lib.types.bool

Default: true

the golangci-lint package

Type: any

Default: pkgs.golangci-lint

install the Go language server, gopls

Type: lib.types.bool

Default: true

the gopls package

Type: any

Default: pkgs.gopls

add snippets for general language features

Type: lib.types.bool

Default: true

add Makefile language support to Visual Studio Code

Type: boolean

Default: false

Example: true

Show boundary whitespace in Makefiles.

Type: lib.types.bool

Default: true

add Nix language support to Visual Studio Code

Type: boolean

Default: false

Example: true

the formatter to use for Nix files

Type: lib.types.enum [ "nixfmt" ]

Default: "nixfmt"

use a Language Server for Nix language support

Type: lib.types.bool

Default: true

add python language support to Visual Studio Code

Type: boolean

Default: false

Example: true

add Rust language support to Visual Studio Code

Type: boolean

Default: false

Example: true

install the Rust language server, rust-analyzer

Type: lib.types.bool

Default: true

the rust-analyzer package

Type: any

Default: pkgs.rust-analyzer

add TOML language support to Visual Studio Code

Type: boolean

Default: false

Example: true

add Yaml language support to Visual Studio Code

Type: boolean

Default: false

Example: true

do not install Visual Studio Code, only configure it

Type: boolean

Default: false

Example: true

improve TODO support

Type: boolean

Default: false

Example: true

install and configure yq

Type: boolean

Default: false

Example: true

install and configure zoxide

Type: boolean

Default: false

Example: true


Generated with nix-options-doc