about summary refs log tree commit diff
path: root/nixos/modules/programs
Commit message (Collapse)AuthorAge
* nixos/npm: add `npm` to the system closure by default (#42420)Maximilian Bosch2018-06-25
|
* nixos/screen: add `pkgs.screen` to the system closureMaximilian Bosch2018-06-23
|
* nixos/thefuck: move init scripts to `programs.*.interactiveShellInit`Maximilian Bosch2018-06-22
| | | | | `fuck` should only be used for interactive sessions, but nothing more (so init files like `/etc/zshenv` become even more lightweight).
* nixos/autosuggestions: add module (#41397)Maximilian Bosch2018-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The `zsh-autosuggestions` package provides several configuration options such as a different highlight style (like `fg=cyan` which is easier to read). With `rename.nix` the old `programs.zsh.enableAutosuggestions` is still functional, but yields the following warning like this during evaluation: ``` trace: warning: The option `programs.zsh.enableAutosuggestions' defined in `<unknown-file>' has been renamed to `programs.zsh.autosuggestions.enable'. ``` The module provides the most common `zsh-autosuggestions` (highlight style and strategy) as options that will be written into the interactive shell init (`/etc/zshrc` by default). Further configuration options can be declared using the `extraConfig` attr set: ``` { programs.zsh.autosuggestions.extraConfig = { "ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE" = "buffer_size"; }; } ``` A full list of available configuration options for `zsh-autosuggestions` can be viewed here: https://github.com/zsh-users/zsh-autosuggestions/blob/v0.4.3/README.md
* nixos/programs.mosh: refactorLenz Weber2018-06-08
| | | | | | | | | | | | | Adds programs.mosh.withUtempter (default: true). The option enables -with-utempter for mosh, allowing it to write to /var/run/utmp and thus making connected sessions appear in the output of `who -a`. For that, a guid-wrapper is required. Also, the path to the `utempter` was hardcoded in the resulting binary until now (so it could never been found), thus, libutempter was patched accordingly to point to /run/wrappers/bin/utempter which at least works when the wrapper is configured.
* zsh: only do promptInit when TERM!=dumbMatthew Bauer2018-05-31
| | | | This allows tramp to be used correctly when default shell is zsh.
* Merge pull request #38791 from LnL7/nixos-profile-variablesDaiderd Jordan2018-05-30
|\ | | | | nixos: remove PKG_CONFIG_PATH/PERL5LIB environment variables
| * nixos: remove PKG_CONFIG_PATH and PERL5LIB environment variablesDaiderd Jordan2018-04-11
| | | | | | | | | | These make libraries installed in the system or even user profiles magically available.
* | nixos/programs/shell.nix: Enhance bad ownership error messageTuomas Tynkkynen2018-05-24
| | | | | | | | | | Steal this from scripts/nix-profile.sh.in in Nix to keep things more consistent.
* | nixos/programs/shell.nix: Use [ ] instead of testTuomas Tynkkynen2018-05-24
| | | | | | | | | | Half of the script is using 'test' and other half '[ ]'. Let's stick to '[ ]' everywhere as it seems more conventional in nixpkgs.
* | nixos/programs/shell.nix: Quote variablesTuomas Tynkkynen2018-05-24
| | | | | | | | | | In practice $HOME doesn't contain spaces, but let's stick to best shell scripting practices anyway.
* | Revert "zsh: move setEnvironment stuff to zprofile"Gregor Kleen2018-05-19
| | | | | | | | This reverts commit 77a6cbb1c1feeb6b6424d35319ac6226c780b34a.
* | nixos/xss-lock: add module (#40619)Maximilian Bosch2018-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `xsslock` (which was originally packaged in 6cb1d1aaaf02a72329bedf9c6960e54fea6f5c6e) is a simple screensaver which connects a given screen locker (e.g. `i3lock`) with `logind`. Whenever `loginctl lock-sessions` is invoked the locker will be used to lock the screen. This works with its power management features (e.g. `lid switch`) as well, so the PC can be locked automatically when the lid is closed. The module can be used like this: ``` { services.xserver.enable = true; programs.xss-lock.enable = true; programs.xss-lock.lockerCommand = "i3lock"; } ```
* | Merge pull request #40223 from ↵Matthew Justin Bauer2018-05-16
|\ \ | | | | | | | | | | | | jD91mZM2/shouldnt-we-just-use-the-pam-environment-file-instead zsh: move setEnvironment stuff to zprofile
| * | zsh: move setEnvironment stuff to zprofilejD91mZM22018-05-09
| | |
* | | Merge pull request #40581 from peterhoeg/p/sedutilPeter Hoeg2018-05-16
|\ \ \ | | | | | | | | sedutil: init at 1.15.1 and corresponding nixos module
| * | | nixos sedutil: module for setting up kernel parametersPeter Hoeg2018-03-19
| | | |
* | | | nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1Jan Malakhovski2018-05-12
| |/ / |/| |
* | | Merge pull request #38831 from rdnetto/improve-cross-refsGraham Christensen2018-04-30
|\ \ \ | | | | | | | | Improve cross referencing in NixOS Manual
| * | | Added cross-references to NixOS manualReuben D'Netto2018-04-12
| | | |
* | | | nixos: enable bash command completion by defaultBjørn Forsman2018-04-13
| |_|/ |/| | | | | | | | | | | | | | | | | | | | Because it improves out-of-the-box user experience a lot (IMHO). (zsh completion is already on by default.) Remove "programs.bash.enableCompletion = true" from nixos-generate-config.pl, which feels superflous now.
* | | nixos/less: add configFile optionivanbrennan2018-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose the path to a lesskey file as a module option. This makes it possible to maintain a single lesskey file, used for both NixOS and non-nix systems. An example of how this can be done follows. 1. Write a derivation that fetches lesskey from a known location: { stdenv, fetchgit }: stdenv.mkDerivation { name = "foo"; src = fetchgit { .. }; phases = [ "unpackPhase" "installPhase" ]; installPhase = "mkdir -p $out && cp $src/lesskey $out/lesskey"; } 2. Set programs.less.configFile to the corresponding path: programs.less = { enable = true; configFile = "${pkgs.foo}/lesskey"; };
* | | nixos/iftop: add moduleMaximilian Bosch2018-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is heavily inspired by bd0d8ed807d29faa3deee96bafcbbd76c8fa4060 which added a setcap wrapper for `mtr` in order to allow running `mtr` without `sudo`. The need for the capability `cap_net_raw` that can be registered using `setcap` has been documented in the Arch Wiki: https://wiki.archlinux.org/index.php/Capabilities#iftop A simple testcase has been added which starts two machines, one with a setcap wrapper for `iftop`, one without. Both testcases monitor the bandwidth usage of the machine using the options `-t -s 1` once, the machine with setcap wrapper is expected to succeed, the `iftop` on the machine without setcap wrapper is expected to return a non-zero exit code.
* | | nixos: doc: introduce `documentation` config subtreeJan Malakhovski2018-03-30
| | |
* | | Merge commit '3ab2949' from staging into masterTuomas Tynkkynen2018-03-15
|\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: pkgs/development/compilers/llvm/6/llvm.nix pkgs/servers/home-assistant/component-packages.nix
| * | | Merge branch 'master' into stagingJan Malakhovski2018-03-10
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved the following conflicts (by carefully applying patches from the both branches since the fork point): pkgs/development/libraries/epoxy/default.nix pkgs/development/libraries/gtk+/3.x.nix pkgs/development/python-modules/asgiref/default.nix pkgs/development/python-modules/daphne/default.nix pkgs/os-specific/linux/systemd/default.nix
| * | | nixos: Move uses of stdenv.shell to runtimeShell.Shea Levy2018-03-01
| | |/ | |/|
* | | singularity: 2.4 -> 2.4.2Justin Bedo2018-03-12
| |/ |/|
* | Merge pull request #30418 from LnL7/inline-set-environmentDaiderd Jordan2018-03-08
|\ \ | |/ |/| nixos: inline set-environment for bash and zsh
| * nixos: inline set-environment for bash and zshDaiderd Jordan2017-10-14
| |
* | programs/bash: install nix-bash-completions if completion is enabledTor Hedin Brønner2018-02-28
| |
* | digitalbitbox: init at 2.2.2 (#33787)David Asabina2018-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * digitalbitbox: init at 2.2.2 The commits that lead to this have been squashed from independent commits see branch @vidbina/add/digitalbitbox-wip that did the following: - 0a3030fa0ec digitalbitbox: init at 2.2.2 - c18ffa3ffd4 digitalbitbox: moved meta to EOF - 0c5f3d6972a digitalbitbox: using preConfigure + configureFlags - a85b1dfc3fd digitalbitbox: nativeBuildInputs - 90bdd35ef0f digitalbitbox: autoreconfHook - 91810eea055 digitalbitbox: default installPhase & makeWrapper - 90e43fb7e2a digitalbitbox: doc rm $PWD hack & printf-tee deal - fd033b2fe5a digitalbitbox: cleanup, alphabetically sort attrs - c5907982db3 digitalbitbox: added hardware module - 88e46bc9ae0 digitalbitbox: added program module - amend to change name: dbb-app -> digitalbitbox - amend to add install instructions based on feedback (https://github.com/NixOS/nixpkgs/pull/33787#issuecomment-362813149) - amend to add longDescription - moved program to its own dir - overridable udev rules handling - added docs to manual - added package attr to program module - added package attr to hardware module * digitalbitbox: use libsForQt5.callPackage
* | nixos udevil: set up wrapper for udevilPeter Hoeg2018-02-26
| |
* | tree-wide: autorename gnome packages to use dashesJan Tojnar2018-02-25
| |
* | nixos/programs.chromium: write policies for google-chrome toovolth2018-02-23
| | | | | | Policy configuration files live under /etc/chromium for Chromium, and under /etc/opt/chrome for Google Chrome.
* | browserpass module: add firefox supportFranz Pletz2018-02-23
| |
* | nixos/programs.chromium: remove unicode char '↪'volth2018-02-22
| |
* | programs.systemtap: add nixos option for installing systemtapHerwig Hochleitner2018-02-15
| | | | | | | | also enables debug feature on kernel
* | programs.criu: add nixos option for installing criu + kernel flagsHerwig Hochleitner2018-02-15
| |
* | nixos/plotinus: add module to enable plotinusSam Parkinson2018-02-14
| |
* | zsh-autoenv: init at 2017-12-16 (#34932)Alexey Lebedeff2018-02-14
| |
* | Merge pull request #33898 from oxij/nixos/related-packages-v5Graham Christensen2018-02-09
|\ \ | | | | | | nixos: doc: implement related packages in the manual (again)
| * | nixos/adb: add related packageJan Malakhovski2018-02-09
| | | | | | | | | | | | This is an attribute path example of `relatedPackages` option usage.
| * | nixos/tmux: add related packageJan Malakhovski2018-02-09
| | | | | | | | | | | | This is a trivial example of `relatedPackages` option usage.
* | | Merge pull request #32582 from Ma27/yabar-moduleFranz Pletz2018-02-09
|\ \ \ | |/ / |/| | yabar: add module
| * | yabar: add moduleMaximilian Bosch2018-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make the configuration of `yabar` more pleasant and easier to validate, a NixOS module will be quite helpful. An example config could look like this: ``` { programs.yabar = { enable = true; bars.top.indicators.exec = "YA_DATE"; }; } ``` The module adds a user-controlled systemd service which runs `yabar` after starting up X.
* | | Merge pull request #33866 from yesbox/fix_newgrpFrederik Rietdijk2018-02-05
|\ \ \ | | | | | | | | nixos: sg/newgrp should always be available, not chfn
| * | | sg/newgrp should always be available, not chfnJesper Geertsen Jonsson2018-01-14
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sg and newgrp only changes the current user session and should be available to users even if the "users.mutableUsers" option is set. These are common, useful commands. chfn does modify the /etc/passwd GECOS field which is also controlled by the option "users.users.<name?>.description", so it's less appropriate to make it available when "users.mutableUsers" is set. However, because CHFN_RESTRICT in login.defs is never set in current NixOS the chfn functionality is never available to users anyway and may as well have its SUID disabled, as only root is able to use it. This is recommended in the chfn man page in this case.
* | | Merge pull request #34381 from JohnAZoidberg/lessJörg Thalheim2018-01-30
|\ \ \ | | | | | | | | nixos/less configure less with module
| * | | nixos/less: use lesspipe package for preprocessingDaniel Schaefer2018-01-29
| | | | | | | | | | | | | | | | | | | | Rather than a custom script the less config now uses the lesspipe package config by default.