summaryrefslogtreecommitdiff
path: root/modules/environment
AgeCommit message (Collapse)Author
2024-11-11environment: fix `lowPrio` support in `environment.systemPackages`Michael Hoang
2024-10-31environment: remove misleading `environment.loginShell` optionMichael Hoang
2024-08-17refactor: rename environment.postBuild to environment.extraSetupAlice Carroll
2024-07-27`mapAttrsFlatten` -> `mapAttrsToList`zowoq
deprecated in https://github.com/NixOS/nixpkgs/commit/473e469d5a921a57b484a09d446cee6c231cd592
2024-05-23environment: Adjust systemPath order to allow injecting in the middleAndrew Marshall
Previously, it was not possible to inject PATH entries between profiles and the “default system” PATH entries. This confounds adding, e.g. Homebrew on aarch64’s non-standard prefix as higher priority than the builtin system paths, but lower than Nix profiles. This is a backwards-incompatible change for some users, but should only be so in the case a user used `mkOrder` with a value between 1000 (the default priority) and 1200. Value of 1200 chosen as the same delta from the default as just below in `environment.profiles` (which uses 800), and mkAfter is 1500 so will still go after this.
2024-04-19treewide: remove lib.mdDocWeijia Wang
2023-06-24treewide: convert all option docs to MarkdownEmily
This process was automated by [my fork of `nix-doc-munge`]; thanks to @pennae for writing this tool! It automatically checks that the resulting documentation doesn't change, although my fork loosens this a little to ignore some irrelevant whitespace and typographical differences. As of this commit there is no DocBook remaining in the options documentation. You can play along at home if you want to reproduce this commit: $ NIX_PATH=nixpkgs=flake:nixpkgs/c1bca7fe84c646cfd4ebf3482c0e6317a0b13f22 \ nix shell nixpkgs#coreutils \ -c find . -name '*.nix' \ -exec nix run github:emilazy/nix-doc-munge/0a7190f600027bf7baf6cb7139e4d69ac2f51062 \ {} + [my fork of `nix-doc-munge`]: https://github.com/emilazy/nix-doc-munge
2022-10-19Add system terminfo to TERMINFO_DIRS by defaultNathan Henrie
2022-09-20environment: support installing terminfo filesMichael Hoang
2022-06-30add escape to shell aliasesTianyao Chou
2021-10-23add forward compatibility for literalExample deprecationDaiderd Jordan
Fixes #367
2020-10-25don't set SHELL automatically based on programs.<shell>.enableDaiderd Jordan
2020-05-11Set up XDG system environment variables sort of how they set them upDaniel V
in nixos by appending them to the nix profiles
2019-02-21order the environmentWael M. Nasreddine
2019-01-15security.pki: add module to configure ca certificatesDaiderd Jordan
This makes NIX_SSL_CERT_FILE configurable and makes /etc/ssl/certs/ca-certificates.crt available like nixos.
2018-10-25Unify environment configuration and don't run in child shellsAndrew Childs
This should enable `nix run` to work under shells like fish and zsh, as well as making child shells not needlessly reset any environment that should be inherited. Implementation adapted from NixOS.
2018-08-26environment: add darwinConfig option to set darwin-config in NIX_PATHDaiderd Jordan
This simplifies using a non default configuration.nix without requiring a symlink or redefining NIX_PATH. The nix.nixPath option only defines a default which means defining a value will drop all of the defaults. This is because correct merge behaviour isn't very clear for named entries.
2018-08-21examples: remove nix-repl and nixUnstable referencesDaiderd Jordan
2017-10-15Port over the NixOS fish moduleColin Barrett
2017-10-07environment: don't link /lib by defaultDaiderd Jordan
2017-10-07system-build: change type of setEnvironment and setAliasesDaiderd Jordan
On NixOS system.build.setEnvironment also is a writeText
2017-10-07environment: include extraInit in set-environment scriptDaiderd Jordan
2017-10-07system-path: fix typeDaiderd Jordan
2017-10-06nixpkgs: change loeOf to listOfDaiderd Jordan
2017-05-25environment: use the default profile as a fallbackDaiderd Jordan
2017-05-21programs-info: add module and run install-info on system packages.Daiderd Jordan
Fixes #25
2017-05-15environment: include /usr/sbin and /sbin in systemPathDaiderd Jordan
Don't extend initial PATH adding extra entries should be done through appending environment.systemPath or manually extending it with environment.extraInit or similar options.
2017-05-14launchd: allow string entries for serviceOptions.pathDaiderd Jordan
Fixes evaluation of khd.
2017-05-13environment: don't use default for profilesDaiderd Jordan
This makes it easier to add entries without having to add all of the default values again.
2017-05-13Merge pull request #26 from clhodapp/fix/path-orderDaiderd Jordan
Don't put profiles in reverse-order in PATH
2017-05-12add programs.man moduleDaiderd Jordan
Note: this doesn't add man to systemPackages by default, only man-old builds on darwin and the system version works fine.
2017-05-12environment: add pathsToLink for system profileDaiderd Jordan
2017-05-12Don't put profiles in reverse-order in PATHChris Hodapp
Your user-specific profile should take precedence over the system one. If I've gone out of my way to install something into my personal profile, my version should be used instead of the system's.
2017-05-12Default outputs should include "man"Chris Hodapp
If you don't include "man", basic nix commands (e.g. nix-env) basically have broken help/usage text, since they delegate to calling man.
2017-03-19set NIX_SSL_CERT_FILEDaiderd Jordan
2017-01-25launchd: add command, path and environment optionsDaiderd Jordan
2017-01-05environment: set cacert variables by defaultDaiderd Jordan
2016-12-18add environment.loginShell optionDaiderd Jordan
2016-12-17fix types for environment variablesDaiderd Jordan
2016-12-17add environment.profilesDaiderd Jordan
2016-12-15add nix moduleDaiderd Jordan
2016-11-06reorganize modulesDaiderd Jordan