summary refs log tree commit diff
path: root/nixos/modules/config
Commit message (Collapse)AuthorAge
* Merge branch 'master' into staging-nextUli Baum2018-09-13
|\
| * nixos: xdg: fix indent and eol spacesJan Malakhovski2018-09-08
| |
| * xdg/mime.nix: ensure $out/share/mime/packages existsMatthew Bauer2018-09-08
| | | | | | | | | | | | | | | | For update-mime-database to work, you must have to have some mime packages installed. In some DEs like XFCE this is not guaranteed to happen. In that case just skip the update-mime-database call. Fixes #46162
| * Merge pull request #45784 from oxij/pull/44720-shell-env-editedxeji2018-09-06
| |\ | | | | | | nixos/shells: Avoid overriding the environment for other child shells
| | * nixos/shells: fix indent everywhereJan Malakhovski2018-08-30
| | | | | | | | | | | | to comply with `doc/coding-conventions.xml`
| | * nixos/shells: avoid overriding the environment for child shellsTor Hedin Brønner2018-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A shared exported guard `__NIXOS_SET_ENVIRONMENT_DONE` is introduced that can be used to prevent child shells from sourcing `system.build.setEnvironment` the second time. This fixes e.g. `nix run derivation` when run from e.g. ZSH through the console or ssh. Before this Bash would resource the common environment resetting the `PATH` environment variable. We also export `system.build.setEnvironment` to `/etc/set-environment` making it easy to reset the common environment with `. /etc/set-environment` when needed and to grep for environment variables in `/etc` (which was the motivation of #30418). This reverts changes made in b00a3fc6fd82834114771f2115a2b032f0ebfe29 (the original #30418).
* | | Merge branch 'master' into staging-nextVladimír Čunát2018-09-04
|\| | | | | | | | | | | Hydra: ?compare=1477053
| * | Added an example for environment.variable. (#45956)Christopher Birkbeck2018-09-02
| | |
* | | alternative for iproute module (#41801)volth2018-09-01
| | |
* | | Merge branch 'master' into stagingVladimír Čunát2018-09-01
|\| | | | | | | | | | | A few trivial conflicts due to *Platforms mass replace.
| * | Merge pull request #45058 from michaelpj/imp/freedesktop-modulesJan Tojnar2018-08-30
| |\ \ | | | | | | | | freedesktop modules: init
| | * | system-path: fix default option valueMichael Peyton Jones2018-08-20
| | | |
| | * | system-path: allow other modules to provide setup fragmentsMichael Peyton Jones2018-08-16
| | | |
| | * | xdg: add modules for supporting various XDG specsMichael Peyton Jones2018-08-16
| | | |
* | | | Merge #45720: coreutils: split a coreutils-full versionVladimír Čunát2018-09-01
|\ \ \ \ | |/ / / |/| | |
| * | | coreutils: split a coreutils-full versionVladimír Čunát2018-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - default coreutils is stripped of /share/ (11 -> 2 MiB) - coreutils-full retains /share/ and adds openssl for faster *sum tools - NixOS systemPackages contains coreutils-full - *Support parameter defaults are moved inside (it seemed confusing to have `? false` and "at once" with `? isLinux`) Closure considerations: + typical build-time closure will get lighter by ~9 MiB - typical closure of NixOS installation will grow by ~2 MiB, due to referring to both versions. I think it would be possible to re-use most of the utils between the two versions, but the expression would get much more complex. I considered having stdenv with minimal coreutils and the default `coreutils` attribute being full, but it turned out there were too many trivial references in nixpkgs, so it didn't seem easy to keep rebuild impact of openssl from growing significantly.
* | | | treewide: fix typo: asumed -> assumedBjørn Forsman2018-08-30
|/ / /
* | / systemd: added groups kvm, renderEric Wolf2018-08-25
| |/ |/| | | | | they need to exist according to the README of systemd
* | environment.extraInit: fix description typoAlyssa Ross2018-08-13
|/
* Merge pull request #44015 from alexshpilkin/resolv-unboundSilvan Mosberger2018-07-24
|\ | | | | nixos/networking: include local Unbound in resolv.conf
| * nixos/networking: include local Unbound in resolv.confAlexander Shpilkin2018-07-23
| | | | | | | | | | Previously, only BIND, dnsmasq and resolved were included in resolv.conf. Recognize an Unbound installation as well.
* | fix build with allowAliases=falsevolth2018-07-23
| |
* | [bot] nixos/*: remove unused arguments in lambdasvolth2018-07-20
| |
* | [bot]: remove unreferenced codevolth2018-07-20
|/
* Merge pull request #42569 from spacefrogg/nscd-fixMatthew Bauer2018-07-05
|\ | | | | resolvconf.conf: Remove forced NSCD service restart
| * resolvconf.conf: Remove forced NSCD service restartMichael Raitza2018-06-25
| | | | | | | | | | | | | | Forcibly restarting NSCD is unnecessary and breaks setups that use SSSD for authentication. NSCD is capable of detecting changes to /etc/resolv.conf and invalidating its caches internally. Restarting NSCD/SSSD breaks user name and UID resolution.
* | nixos/modules: users.(extraUsers|extraGroup->users|group)Florian Klink2018-06-30
|/
* nixos/no-x-libs: Switch to using nixpkgs.overlaysaszlig2018-06-11
| | | | | | | | The usage of nixpkgs.config.packageOverrides is deprecated and we do have overlays since quite a while. Signed-off-by: aszlig <aszlig@nix.build> Cc: @edolstra
* iproute2: module to create rt_table file & coMatthieu Coudron2018-05-15
| | | | | | | | | | When doing source routing/multihoming, it's practical to give names to routing tables. The absence of the rt_table file in /etc make this impossible. This patch recreates these files on rebuild so that they can be modified by the user see NixOS#38638. iproute2 is modified to look into config.networking.iproute2.confDir instead of /etc/iproute2.
* treewide: isArm -> isAarch32John Ericson2018-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following legacy packing conventions, `isArm` was defined just for 32-bit ARM instruction set. This is confusing to non packagers though, because Aarch64 is an ARM instruction set. The official ARM overview for ARMv8[1] is surprisingly not confusing, given the overall state of affairs for ARM naming conventions, and offers us a solution. It divides the nomenclature into three levels: ``` ISA: ARMv8 {-A, -R, -M} / \ Mode: Aarch32 Aarch64 | / \ Encoding: A64 A32 T32 ``` At the top is the overall v8 instruction set archicture. Second are the two modes, defined by bitwidth but differing in other semantics too, and buttom are the encodings, (hopefully?) isomorphic if they encode the same mode. The 32 bit encodings are mostly backwards compatible with previous non-Thumb and Thumb encodings, and if so we can pun the mode names to instead mean "sets of compatable or isomorphic encodings", and then voilà we have nice names for 32-bit and 64-bit arm instruction sets which do not use the word ARM so as to not confused either laymen or experienced ARM packages. [1]: https://developer.arm.com/products/architecture/a-profile
* zramSwap: remove mentions of old kernelsWout Mertens2018-04-19
|
* zramSwap: default to 1 deviceWout Mertens2018-04-19
| | | One device per cpu is only needed for kernel 3.14
* nixos/pulseaudio: pulseaudio.enable should imply sound.enableJörg Thalheim2018-04-14
| | | | cc @fpletz
* Increase max group name length to 32 charactersaszlig2018-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With #36556, a check was introduced to make sure the user and group names do not exceed their respective maximum length. This is in part because systemd also enforces that length, but only at runtime. So in general it's a good idea to catch as much as we can during evaluation time, however the maximum length of the group name was set to 16 characters according groupadd(8). The maximum length of the group names however is a compile-time option and even systemd allows more than 16 characters. In the mentioned pull request (#36556) there was already a report that this has broken evaluation for people out there. I have also checked what other distributions are doing and they set the length to either 31 characters or 32 characters, the latter being more common. Unfortunately there is a difference between the maximum length enforced by the shadow package and systemd, both for user name lengths and group name lengths. However, systemd enforces both length to have a maximum of 31 characters and I'm not sure if this is intended or just a off-by-one error in systemd. Nevertheless, I choose 32 characters simply to bring it in par with the maximum user name length. For the NixOS assertion however, I use a maximum length of 31 to make sure that nobody accidentally creates services that contain group names that systemd considers invalid because of a length of 32 characters. Signed-off-by: aszlig <aszlig@nix.build> Closes: #38548 Cc: @vcunat, @fpletz, @qknight
* Merge pull request #38114 from oxij/nixos/doc-moduleMichael Raskin2018-04-05
|\ | | | | nixos: doc module
| * nixos: doc: introduce `documentation` config subtreeJan Malakhovski2018-03-30
| |
* | Merge pull request #38111 from oxij/tree/cleanupsMichael Raskin2018-04-05
|\ \ | | | | | | assorted cleanups
| * | nixos: replace `optionals` -> `optional` in nsswitchJan Malakhovski2018-03-30
| | |
| * | nixos: users-groups: cleanupJan Malakhovski2018-03-30
| |/
* / user/group assertion to not exceed the 32 character limitJoachim Schiele2018-03-30
|/
* networkmanager-pptp: remove packageFlorian Klink2018-03-23
| | | | | | | | | Currently broken on NixOS due to hardcoded modprobe binary path (see bug #30756 from Oct 2017), no activity on a proposed fix for months. As the protocol is terribly broken anyways, let's better remove it completely, and not talk about anymore ;-) Closes #30756.
* 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
| * Merge branch 'master' into nix-2.0Vladimír Čunát2018-03-03
| |\
| * | Create /home with the right permissionsEelco Dolstra2018-02-27
| | | | | | | | | | | | Without this, it will be created with 700 permissions.
| * | Move creation of /root to the activation scriptEelco Dolstra2018-02-05
| | | | | | | | | | | | ...so it appears in a new installation before rebooting the system.
* | | nixos: Move uses of stdenv.shell to runtimeShell.Shea Levy2018-03-01
| | |
* | | gobjectIntrospection: Enable building without X11 support.Shea Levy2018-03-01
| | | | | | | | | | | | Also disable it when noXlibs in NixOS.
* | | nixos: Take glibcLocales from buildPackages.Shea Levy2018-02-28
| |/ |/| | | | | No need to cross-compile pure data...
* | tree-wide: autorename gnome packages to use dashesJan Tojnar2018-02-25
|/
* nixos/powerManagement: remove duplicate definitionFranz Pletz2018-01-28
| | | | | | | When not set just use the kernel default. `nixos-generate-config` will pick a reasonable default. cc #34350