| programs.kitty.environment | Environment variables to set or override.
|
| services.local-ai.environment | Additional environment passed to local-ai service
|
| services.radicle.node.environment | Environment to set when executing radicle-node.
|
| services.comodoro.environment | Extra environment variables to be exported in the service.
|
| services.podman.builds.<name>.environment | Environment variables to set in the build.
|
| wayland.windowManager.labwc.environment | Environment variable to add when labwc start.
|
| services.xidlehook.environment | Extra environment variables to be exported in the script
|
| services.podman.containers.<name>.environment | Environment variables to set in the container.
|
| programs.nushell.environmentVariables | Environment variables to be set
|
| services.ollama.environmentVariables | Set arbitrary environment variables for the ollama service
|
| services.podman.containers.<name>.environmentFile | Paths to files containing container environment variables.
|
| services.restic.backups.<name>.environmentFile | A file containing the credentials to access the repository, in the
format of an EnvironmentFile as described by systemd.exec(5)
|
| home.sessionSearchVariables | Extra directories to prepend to arbitrary PATH-like
environment variables (e.g.: MANPATH)
|
| home.packages | The set of packages to appear in the user environment.
|
| programs.go.env | Environment variables for Go
|
| xdg.portal.extraPortals | List of additional portals that should be added to the environment
|
| services.xidlehook.timers | A set of commands to be executed after a specific idle timeout
|
| programs.password-store.settings | The pass environment variables dictionary
|
| programs.boxxy.rules.*.env | Give certain environment variables for said match.
|
| wayland.windowManager.sway.systemd.variables | Environment variables imported into the systemd and D-Bus user environment.
|
| i18n.glibcLocales | Customized glibcLocales package providing
the LOCALE_ARCHIVE_* environment variable
|
| programs.direnv.enable | Whether to enable direnv, the environment switcher.
|
| wayland.windowManager.labwc.systemd.variables | Environment variables to be imported in the systemd & D-Bus user
environment.
|
| wayland.windowManager.river.systemd.variables | Environment variables to be imported in the systemd & D-Bus user
environment.
|
| programs.nh.flake | The path that will be used for the FLAKE environment variable.
FLAKE is used by nh as the default flake for performing actions,
like nh os switch.
|
| wayland.windowManager.labwc.systemd.enable | Whether to enable labwc-session.target on
labwc startup
|
| wayland.windowManager.river.systemd.enable | Whether to enable river-session.target on
river startup
|
| programs.nushell.envFile | The environment variables file to be used for nushell
|
| home.extraOutputsToInstall | List of additional package outputs of the packages
home.packages that should be installed into
the user environment.
|
| wayland.windowManager.wayfire.systemd.variables | Environment variables to be imported in the systemd & D-Bus user
environment.
|
| programs.gradle.home | The Gradle home directory, relative to home.homeDirectory
|
| programs.nushell.extraEnv | Additional configuration to add to the nushell environment variables file.
|
| targets.darwin.linkApps.enable | Whether to enable linking macOS applications to the user environment.
|
| uninstall | Whether to set up a minimal configuration that will remove all managed
files and packages
|
| wayland.windowManager.wayfire.systemd.enable | Whether to enable wayfire-session.target on
wayfire startup
|
| targets.darwin.copyApps.enable | Whether to enable copying macOS applications to the user environment (works with Spotlight).
|
| programs.ssh.matchBlocks.<name>.setEnv | Environment variables and their value to send to the server.
|
| wayland.windowManager.hyprland.systemd.variables | Environment variables to be imported in the systemd & D-Bus user
environment.
|
| wayland.windowManager.sway.systemd.enable | Whether to enable sway-session.target on
sway startup
|
| wayland.windowManager.hyprland.systemd.enable | Whether to enable hyprland-session.target on
hyprland startup
|
| services.screen-locker.lockCmdEnv | Environment variables to source a with the locker command (lockCmd).
|
| programs.hwatch.extraArgs | Extra command-line arguments to pass to hwatch
|
| wayland.windowManager.sway.systemd.dbusImplementation | The D-Bus implementation used on the system
|
| programs.nh.osFlake | The string that will be used for the NH_OS_FLAKE environment variable.
NH_OS_FLAKE is used by nh as the default flake for performing nh os
actions, such as nh os switch
|
| programs.ssh.matchBlocks.<name>.sendEnv | Environment variables to send from the local host to the
server.
|
| programs.smug.projects.<name>.env | Environment Variables to set in session.
|
| programs.nix-your-shell.enable | Whether to enable nix-your-shell, a wrapper for nix develop or nix-shell
to retain the same shell inside the new environment.
|
| programs.nh.homeFlake | The string that will be used for the NH_HOME_FLAKE environment variable.
NH_HOME_FLAKE is used by nh as the default flake for performing nh home
actions, such as nh home switch
|
| xdg.portal.xdgOpenUsePortal | Sets environment variable NIXOS_XDG_OPEN_USE_PORTAL to 1
This will make xdg-open use the portal to open programs, which resolves bugs involving
programs opening inside FHS envs or with unexpected env vars set from wrappers
|
| programs.vim.defaultEditor | Whether to configure vim as the default
editor using the EDITOR and VISUAL
environment variables.
|
| home.sessionVariables | Environment variables to always set at login
|
| pam.sessionVariables | Environment variables that will be set for the PAM session
|
| services.dunst.waylandDisplay | Set the service's WAYLAND_DISPLAY environment variable.
|
| services.etesync-dav.settings | Settings for etesync-dav, passed as environment variables.
|
| services.emacs.defaultEditor | Whether to configure emacsclient as the default
editor using the EDITOR and VISUAL
environment variables.
|
| programs.helix.defaultEditor | Whether to configure hx as the default
editor using the EDITOR and VISUAL
environment variables.
|
| programs.nh.darwinFlake | The string that will be used for the NH_DARWIN_FLAKE environment variable.
NH_DARWIN_FLAKE is used by nh as the default flake for performing
nh darwin actions, such as nh darwin switch
|
| programs.keychain.inheritType | Inherit type to attempt from agent variables from the environment.
|
| programs.gh.settings.editor | The editor that gh should run when creating issues, pull requests, etc
|
| programs.neovim.defaultEditor | Whether to configure nvim as the default
editor using the EDITOR and VISUAL
environment variables.
|
| services.polybar.script | This script will be used to start the polybars
|
| systemd.user.sessionVariables | Environment variables that will be set for the user session
|
| programs.zsh.sessionVariables | Environment variables that will be set for zsh session.
|
| programs.zsh.siteFunctions | Functions that are added to the Zsh environment and are subject to
autoloading
|
| programs.bash.sessionVariables | Environment variables that will be set for the Bash session.
|
| programs.kakoune.defaultEditor | Whether to configure kak as the default
editor using the EDITOR and VISUAL
environment variables.
|
| programs.neovim.extraWrapperArgs | Extra arguments to be passed to the neovim wrapper
|
| programs.riff.commandLineOptions | Command line arguments to include in the RIFF environment variable
|
| services.syncthing.allProxy | Overwrites the all_proxy environment variable for the Syncthing
process to the given value
|
| xdg.terminal-exec.settings | Configuration options for the Default Terminal Execution Specification
|
| services.fnott.configFile | Path to the configuration file read by fnott
|
| programs.mangohud.enableSessionWide | Sets environment variables so that
MangoHud is started on any application that supports it.
|
| xdg.desktopEntries.<name>.startupNotify | If true, it is KNOWN that the application will send a "remove"
message when started with the DESKTOP_STARTUP_ID
environment variable set
|
| xdg.userDirs.setSessionVariables | Whether to set the XDG user dir environment variables, like
XDG_DESKTOP_DIR.
The recommended way to get these values is via the xdg-user-dir
command or by processing $XDG_CONFIG_HOME/user-dirs.dirs directly in
your application.
This defaults to true for state version < 26.05 and false otherwise.
|
| programs.hyprshot.saveLocation | Set the $HYPRSHOT_DIR environment variable to the given location
|
| services.mpd.enableSessionVariables | Whether to set MPD_HOST MPD_PORT environment variables
according to services.mpd.network.
|
| targets.genericLinux.nixGL.prime.card | Selects the non-default graphics card used for PRIME render offloading
|
| targets.genericLinux.gpu.nixStateDirectory | The path to the Nix state directory
|
| targets.genericLinux.nixGL.installScripts | For each wrapper wrp named in the provided list, a wrapper script
named nixGLWrp is installed into the environment
|
| targets.genericLinux.nixGL.prime.nvidiaProvider | If this option is set, it overrides the offload provider for Nvidia
PRIME offloading
|
| wayland.windowManager.sway.wrapperFeatures.gtk | Whether to make use of the wrapGAppsHook wrapper to execute sway with required environment
variables for GTK applications.
|
| services.restic.backups.<name>.createWrapper | Whether to generate and add a script to the system path, that has the
same environment variables set as the systemd service
|
| programs.nvchecker.settings | Configuration written to
$HOME/Library/Application Support/nvchecker/nvchecker.toml (on Darwin) or
$XDG_CONFIG_HOME/nvchecker/nvchecker.toml (otherwise)
|
| launchd.agents.<name>.config.Sockets.<name>.SecureSocketWithKey | This optional key is a variant of SockPathName
|
| systemd.user.services.<name>.Service.Environment | Environment variables available to executed processes.
|
| targets.genericLinux.nixGL.prime.installScript | If this option is set, the wrapper script prime-offload is installed
into the environment
|
| launchd.agents.<name>.config.EnvironmentVariables | This optional key is used to specify additional environment variables to be set before running the
job.
|
| systemd.user.settings.Manager.DefaultEnvironment | Configures environment variables passed to all executed processes.
|
| systemd.user.settings.Manager.ManagerEnvironment | Sets environment variables just for the manager process itself.
|
| programs.nvchecker.settings.__config__ | See https://nvchecker.readthedocs.io/en/stable/usage.html#configuration-files
|
| programs.prismlauncher.extraPackages | Additional theme packages to install to the user environment
|
| programs.nvchecker.settings.__config__.newver | The file to store 'new' (i.e. available) versions in
|
| programs.nvchecker.settings.__config__.oldver | The file to store 'old' (i.e. installed) version information in
|
| xdg.desktopEntries | Desktop Entries allow applications to be shown in your desktop environment's app launcher
|
| xdg.portal.enable | Whether to enable XDG desktop integration
|
| programs.zsh.enableCompletion | Enable zsh completion
|
| programs.bash.enableCompletion | Whether to enable Bash completion for all interactive Bash shells
|
| services.gpg-agent.noAllowExternalCache | Tell Pinentry not to enable features which use an external cache for
passphrases
|