about summary refs log tree commit diff
path: root/nixos/modules/config
Commit message (Collapse)AuthorAge
* nixos/xdg/icons: use profileRelativeSessionVariablesworldofpeace2019-09-18
|
* nixos/terminfo: use profileRelativeSessionVariablesworldofpeace2019-09-18
|
* nixos/system-environment: introduce environment.profileRelativeSessionVariablesRobert Helgesson2019-09-18
| | | | | There is a need for having sessionVariables set relative to the Nix Profiles. Such as in #68383.
* Merge pull request #67795 from matthewbauer/remove-hidden-binsMatthew Bauer2019-09-09
|\ | | | | nixos/system-path: remove wrappers from system-path
| * nixos/system-path: remove wrappers from system-pathMatthew Bauer2019-09-09
| | | | | | | | | | Remove .*-wrapped files from system-path. These files aren’t needed in the path for users.
* | treewide: remove redundant quotesvolth2019-09-08
| |
* | Merge branch 'master' into staging-nextJan Tojnar2019-09-06
|\ \ | | | | | | | | | Fixed trivial conflicts caused by removing rec.
| * | tree-wide: s/GTK+/GTK/gJan Tojnar2019-09-06
| | | | | | | | | | | | GTK was renamed.
* | | Merge branch 'master' into stagingVladimír Čunát2019-09-02
|\| |
| * | nixos/fonts.enableDefaultFonts: add Noto EmojiJan Tojnar2019-09-01
| | | | | | | | | | | | These days, emoji are ubiqitous so we need to add emoji font.
| * | nixos/fontconfig: Allow setting default emoji fontJan Tojnar2019-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In fontconfig’s 60-generic.conf, order of preference is estabilished for emoji font family. Because fontconfig parses the config files in lexicographic order, appending each <prefer> from <alias> element to the family’s prefer list (to be prepended before the family) [1], our font family defaults stored in 52-nixos-default-fonts.conf will take precedence. That is, of course, unless the default „weak“ binding [2] is used. Emoji family binds strongly [3], so we need to set binding to “same” for our <alias>es to be considered before the ones from 60-generic.conf. By default, we will set the option to all emoji fonts supported by fontconfig, so that emoji works for user if they have at least one emoji font installed. If they have multiple emoji fonts installed, we will use the fontconfig’s order of preference [4]. [1]: https://github.com/bohoomil/fontconfig-ultimate/issues/51#issuecomment-64678322 [2]: https://www.freedesktop.org/software/fontconfig/fontconfig-user.html#AEN25 [3]: https://gitlab.freedesktop.org/fontconfig/fontconfig/commit/cc8442dec85e9d416436d19eeae1783f2d3008f0 [4]: https://gitlab.freedesktop.org/fontconfig/fontconfig/commit/c41c9220181b203d1cf1f6435f6e3735cb7c84ac
| * | nixos/modules: Remove all usages of types.stringSilvan Mosberger2019-08-31
| | | | | | | | | | | | | | | | | | And replace them with a more appropriate type Also fix up some minor module problems along the way
* | | Merge staging-next into stagingFrederik Rietdijk2019-08-31
|\| |
| * | nixos/fontconfig-penultimate: disable by defaultworldofpeace2019-08-30
| |/ | | | | | | | | | | | | | | | | It currently lacks an emoji font-family which means it has to be disabled for them to function [0]. Additionally it's fallen out of necessity to ship custom font rendering settings (as far as I'm aware of). [0]: https://github.com/NixOS/nixpkgs/pull/67215
* | treewide: remove redundant recvolth2019-08-28
| |
* | Merge staging-next into stagingFrederik Rietdijk2019-08-28
|\|
| * nixos/update-users-groups.pl: chomp hashedPasswordMatthew Bauer2019-08-25
| | | | | | | | | | | | | | | | We don’t want any trailing whitespace, otherwise we mess up the formating of the shadow file. Some things like readFile may have the trailing new line. Fixes #66745
| * nixos/vte: ensure bash vte snippet appears firstworldofpeace2019-08-23
| | | | | | | | Fixes #67312
| * Merge pull request #66990 from worldofpeace/gnome-vte-configworldofpeace2019-08-21
| |\ | | | | | | nixos/gnome-terminal: init
| | * nixos/vte: initworldofpeace2019-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This module correctly includes the vte.sh script required for vte terminals like gnome-terminal to show the CWD in the window title and preserved across instances. This is achieved with the options: * programs.bash.vteIntegration * programs.zsh.vteIntegration as it's best to keep this configuration unguarded by gnome3.enable to support other vte terminals (such as elementary-terminal). Note the distinction between Zsh and Bash doesn't include a different script, as this script only supports those two shells.
| * | Merge pull request #67071 from jtojnar/fontconfig-harmonizationJan Tojnar2019-08-21
| |\ \ | | | | | | | | nixos/fontconfig: harmonize with penultimate
| | * | nixos/fontconfig: harmonize commentsJan Tojnar2019-08-20
| | | |
| | * | nixos/fontconfig: harmonize file namesJan Tojnar2019-08-20
| | | |
| | * | nixos/fontconfig: harmonize folder variablesJan Tojnar2019-08-20
| | | |
| | * | nixos/fontconfig: harmonize indentationJan Tojnar2019-08-20
| | | |
| | * | nixos/fontconfig-penultimate: reorderJan Tojnar2019-08-20
| | | | | | | | | | | | | | | | to be more in line with fontconfig.nix
| * | | nixos/qt5: initworldofpeace2019-08-20
| | |/ | |/| | | | | | | | | | | | | | | | | | | This moduule has the following options: * platformTheme * style This allows us to configure the Qt5 theme engine and style.
| * | nixos/systemd: install sysctl snippetsFlorian Klink2019-08-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | systemd provides two sysctl snippets, 50-coredump.conf and 50-default.conf. These enable: - Loose reverse path filtering - Source route filtering - `fq_codel` as a packet scheduler (this helps to fight bufferbloat) This also configures the kernel to pass coredumps to `systemd-coredump`. These sysctl snippets can be found in `/etc/sysctl.d/50-*.conf`, and overridden via `boot.kernel.sysctl` (which will place the parameters in `/etc/sysctl.d/60-nixos.conf`. Let's start using these, like other distros already do for quite some time, and remove those duplicate `boot.kernel.sysctl` options we previously did set. In the case of rp_filter (which systemd would set to 2 (loose)), make our overrides to "1" more explicit.
| * | nixos/sysctl: rename /etc/sysctl.d/nixos.conf -> 60-nixos.confFlorian Klink2019-08-18
| |/ | | | | | | | | | | | | | | | | | | sysctl.d(5) recommends prefixing all filenames in /etc/sysctl.d with a two-digit number and a dash, to simplify the ordering of the files. Some packages provide custom files, often with "50-" prefix. To ensure user-supplied configuration takes precedence over the one specified via `boot.kernel.sysctl`, prefix the file generated there with "60-".
* / treewide: remove redundant quotesvolth2019-08-26
|/
* Merge pull request #66425 from Gerschtli/fix/path-orderMatthew Bauer2019-08-13
|\ | | | | environment.profiles: fix order of profiles and PATH
| * environment.profiles: fix order of profilesTobias Happ2019-08-10
| | | | | | | | | | | | This change is needed because the order of profiles correlate to the order in PATH, therefore "/etc/profiles/per-user/$USER" always appeared after the system packages directories.
* | clight: init (#64309)Silvan Mosberger2019-08-12
|\ \ | |/ |/| clight: init
| * timezone.nix -> locale.nixEdmund Wu2019-08-12
| | | | | | | | Also includes geolocation information abstracted from redshift.nix
* | nixos/xdg/portal: set GTK_USE_PORTAL with lib.mkIfworldofpeace2019-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | If lib.optional is given a false value it will return an empty list. Thusly the set-environment script can have ``` export GTK_USE_PORTAL= ``` This can rub certain bugs the wrong way #65679 so lets make sure this isn't set in the environment at all.
* | nixos/xdg: add gtkUsePortal option to portalsworldofpeace2019-07-29
| | | | | | | | | | | | | | | | | | | | | | Prior to this change GTK_USE_PORTAL was unconditionally set to "1". For this to not break things you have to have some sort of portal implementation in extraPortals. Setting GTK_USE_PORTAL in this manner is actually only useful when using portals for applications outside flatpak. For example people using non-flatpak Firefox who want native filechoosers. It's also WIP for electron applications to support this.
* | nixos/xdg: disable portal (again)worldofpeace2019-07-26
|/
* nixos/config/no-x-libs: Fix pinentry argumentsThomas Tuegel2019-07-24
|
* nixos/xdg: default portal from xserver.enableworldofpeace2019-07-19
| | | | | | same affect as f84a4ef8924f9e21f653b895723ee75c93b56a27 but we won't need to enable the module independently for DE modules.
* nixos/xdg: Disables portal by default...Samuel Dionne-Riel2019-07-19
| | | | | | | Left to do: re-enable as needed in the usual situations. This added ~286MiB to the base system closure, which is enough to bring the sd images over the limit allowed on Hydra.
* Merge pull request #64575 from pasqui23/portalworldofpeace2019-07-18
|\ | | | | nixos/xdg: add portal option
| * nixos/xdg: add portal optionPasquale2019-07-18
| | | | | | | | This factors the configuration out of the flatpak module.
* | resolvconf service: initNikolay Amiantov2019-07-15
|/ | | | | | | | | | | | | This is a refactor of how resolvconf is managed on NixOS. We split it into a separate service which is enabled internally depending on whether we want /etc/resolv.conf to be managed by it. Various services now take advantage of those configuration options. We also now use systemd instead of activation scripts to update resolv.conf. NetworkManager now uses the right option for rc-manager DNS automatically, so the configuration option shouldn't be exposed.
* nixos/networking: filter out empty entriesedef2019-07-07
|
* nixos/malloc: use ld preloadJoachim Fasting2019-07-04
| | | | | | This is more robust than setting via environment variable, though it does come later in the load sequence. An added benefit is affecting the current session.
* networkmanager: Add rc-manager optiontalyz2019-07-03
| | | | | | | | Add an option to set the rc-manager parameter in NetworkManager.conf, which controls how NetworkManager handles resolv.conf. This sets the default rc-manager to "resolvconf", which solves #61490. It additionally allows the user to change rc-manager without interference from configuration activations.
* nixos/pulseaudio: Set speex-float-5 as default resample-methodadisbladis2019-05-31
| | | | The upstream default (speex-float-1) results in audible artifacts
* nixos/malloc: apply allocator settings to systemd unitsPierre Bourdon2019-05-30
| | | | | This uses systemd's system.conf/user.conf "DefaultEnvironment" feature to set the allocator's LD_PRELOAD near-globally.
* nixos/malloc: add scudo from LLVM compiler-rtPierre Bourdon2019-05-30
|
* nixos/xdg/mime: disable fdatasync when building the XDG MIME databaseBryan Gardiner2019-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | Back in 2013, update-mime-database started using fdatasync() to write out its changes after processing each file in /share/mime, with the reasoning that a corrupted database from an interruption midway would be problematic for applications[1]. Unfortunately, this caused a significant regression in the time required to run update-mime-database: commonly from under a second to half a minute or more. This delay affects the time required to build system-path on NixOS, when xdg.mime.enable is true (the default). For example, on one of my systems system-path builds in ~48 seconds, 45 of which are update-mime-database. This makes rapidly building new system configurations not fun. This commit disables the calls to fdatasync(). update-mime-database checks an environment variable, PKGSYSTEM_ENABLE_FSYNC, to determine whether it should sync, and we can set this to false. system-path already only has whatever filesystem commit guarantees that the Nix builder provides. Furthermore, there is no risk of a failed MIME database update messing up existing packages, because this is Nix. (This issue was also reported at and discussed by Debian, Red Hat, and Gentoo at least.) [1] https://bugs.freedesktop.org/show_bug.cgi?id=70366