summary refs log tree commit diff
path: root/nixos/modules/system
Commit message (Collapse)AuthorAge
* nixos: initrd/luks: make uuid specified devices discoverableEdward Tjörnhammar2018-09-24
|
* nixos/activation: Switch from bash to sh to avoid reading users bash config ↵Elis Hirwing2018-09-18
| | | | | (#46851) This fixes #46750. This should also work with non-POSIX shells like in #46042.
* nixos/networkd: do not require gateway for routesAlexander Shpilkin2018-09-07
| | | | | A route via a tunnel interface does not require a gateway to be specified, so do not check for the Gateway= field on routes at all.
* nixos/networkd: fix handling of RequiredForOnlineAlexander Shpilkin2018-09-07
|
* nixos/networkd: support MULTICAST flag on linksAlexander Shpilkin2018-09-07
| | | | | Support Multicast= option in [Link] section of network units, introduced in systemd/systemd#9118.
* nixos/activation: fix activation script for non-POSIX shells (#46042)Maximilian Bosch2018-09-05
| | | | | | | | | | | | | | | This fixes an issue with shells like fish that are not fully POSIX compliant. The syntax `ENV=val cmd' doesn't work properly in there. This issue has been addressed in #45932 and #45945, however it has been recommended to use a single shell (`stdenv.shell' which is either `bash' or `sh') to significantly reduce the maintenance overload in the future. See https://github.com/NixOS/nixpkgs/issues/45897#issuecomment-417923464 Fixes #45897 /cc @FRidh @xaverdh @etu
* Merge pull request #44526 from ↵Graham Christensen2018-09-02
|\ | | | | | | | | samueldr/feature/actiavation-failure-identification nixos/activation: Identifies the snippet that failed
| * nixos/activation: Identifies the snippet that failedSamuel Dionne-Riel2018-08-05
| | | | | | | | | | | | This allows a developer to better identify in which snippet the failure happened. Furthermore, users seeking help will have more information available about the failure.
* | install-grub.pl: avoid double '/' in menu.lst and grub.conf (#45907)volth2018-09-02
| | | | | | Although double '/' in paths is not a problem for GRUB supplied with nixpkgs, sometimes NixOS's grub.conf read by external GRUB and there are versions of GRUB which fail
* | nixos/doc: add instructions for installation behind a proxy (#45854)Venkateswara Rao Mandela2018-09-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The instructions to install nixos behind a proxy were not clear. While one could guess that setting http_proxy variables can get the install rolling, one could end up with an installed system where the proxy settings for the nix-daemon are not configured. This commit updates the documentation with 1. steps to install behind a proxy 2. configure the global proxy settings so that nix-daemon can access internet. 3. Pointers to use nesting.clone in case one has to use different proxy settings on different networks.
* | stage-1-init.sh: do not check mounted filesystems (#45891)volth2018-09-01
| | | | | | fsck of a mounted filesystems fails with error code 8 "Operational error" and halts the boot processing
* | Merge #45731: artwork update (replacing old logo)Vladimír Čunát2018-09-01
|\ \
| * | nixos/grub: Uses the new artwork as the default option.Samuel Dionne-Riel2018-08-29
| | | | | | | | | | | | | | | This also includes a set of defaults *for this option*, where when not used, other saner defaults are used.
| * | nixos/grub: Adds background color and mode optionsSamuel Dionne-Riel2018-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The background color option is self-explanatory. The mode is either `normal` or `stretch`, they are as defined by GRUB, where normal will put the image in the top-left corner of the menu, and stretch is the default, where it stretches the image without consideration for the aspect ratio. * https://www.gnu.org/software/grub/manual/grub/grub.html#background_005fimage
* | | reewide: Purge all uses `stdenv.system` and top-level `system`John Ericson2018-08-30
| | | | | | | | | | | | It is deprecated and will be removed after 18.09.
* | | nixos/networkd: fix range assertions on 32 bit NixBen Wolsieffer2018-08-28
| | |
* | | systemd: ensure fsck Requires/After links are created in mount unitsMatt McHenry2018-08-28
| | | | | | | | | | | | | | | | | | | | | systemd-fsck-generator only produces these lines if it can find the necessary fsck executable in its PATH. fixes #29139.
* | | Merge pull request #44990 from Ma27/reload-user-units-during-activationJörg Thalheim2018-08-27
|\ \ \ | |/ / |/| | nixos/switch-to-configuration: reload user units
| * | nixos/switch-to-configuration: reload user unitsMaximilian Bosch2018-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When rebuilding you have to manually run `systemctl --user daemon-reload`. It gathers all authenticated users using `loginctl list-user` and runs `daemon-reload` for each of them. This is a first step towards a `nixos-rebuild` which is able to reload user units from systemd. The entire task is fairly hard, however I consider this patch usable as it allows to restart units without running `daemon-reload` for each authenticated user.
* | | nixos/networkd: replace range with assertRangeBen Wolsieffer2018-08-22
| | |
* | | treewide: Purge `stdenv.platform` and top-level `platform`John Ericson2018-08-20
| | | | | | | | | | | | Progress towards #27069
* | | Merge pull request #45397 from volth/patch-233John Ericson2018-08-20
|\ \ \ | | | | | | | | $toplevel/system: buildPlatform.system -> hostPlatform.system
| * | | $toplevel/system: buildPlatform.system -> hostPlatform.systemvolth2018-08-20
| | | |
* | | | top-level.nix: stdenv.platform -> stdenv.hostPlatform.platformvolth2018-08-20
|/ / / | | | | | | because stdenv.platform is stdenv.buildPlatform.platform
* | | Merge branch 'master' into staging-nextVladimír Čunát2018-08-17
|\ \ \ | | | | | | | | | | | | Hydra: ?compare=1473892
| * \ \ Merge pull request #44233 from jfrankenau/networkd-fix-optionsJörg Thalheim2018-08-16
| |\ \ \ | | |/ / | |/| | nixos/networkd: add missing options
| | * | nixos/networkd: add missing optionsJohannes Frankenau2018-08-16
| | | |
* | | | Merge branch 'master' into staging-nextVladimír Čunát2018-08-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gobby and libinfinity - I took the hand-edited versions instead of those resuting from the mass-replacement. Hydra: ?compare=1473190
| * | | nixos/systemd-boot: Add missing newlineThibault Polge2018-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue where setting both `boot.loader.systemd-boot.editor` to `false` and `boot.loader.systemd-boot.consoleMode` to any value would concatenate the two configuration lines in the output, resulting in an invalid `loader.conf`.
* | | | Merge master into stagingFrederik Rietdijk2018-08-09
|\| | |
| * | | Merge pull request #29441 from oxij/nixos/luksSamuel Dionne-Riel2018-08-08
| |\ \ \ | | | | | | | | | | nixos: initrd/luks: allow to reuse passphrases, cleanup
| | * | | nixos: initrd/luks: disable input echo for the whole stageJan Malakhovski2018-08-08
| | | | |
| | * | | nixos: initrd/luks: simplify Yubikey handling codeJan Malakhovski2018-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From reading the source I'm pretty sure it doesn't support multiple Yubikeys, hence those options are useless. Also, I'm pretty sure nobody actually uses this feature, because enabling it causes extra utils' checks to fail (even before applying any patches of this branch). As I don't have the hardware to test this, I'm too lazy to fix the utils, but I did test that with extra utils checks commented out and Yubikey enabled the resulting script still passes the syntax check.
| | * | | nixos: initrd/luks: change passphrases handlingJan Malakhovski2018-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also reuse common cryptsetup invocation subexpressions. - Passphrase reading is done via the shell now, not by cryptsetup. This way the same passphrase can be reused between cryptsetup invocations, which this module now tries to do by default (can be disabled). - Number of retries is now infinity, it makes no sense to make users reboot when they fail to type in their passphrase.
| | * | | nixos: initrd/luks: cleanup and generalize common shell expressionsJan Malakhovski2018-08-08
| | | | | | | | | | | | | | | | | | | | Also fix Yubikey timeout handling mess.
| | * | | nixos: boot/stage-1: check syntax of the generated scriptJan Malakhovski2018-08-08
| | | | |
| * | | | systemd: improve unit script drv namingLinus Heckemann2018-08-08
| |/ / / | | | | | | | | | | | | | | | | Also store scripts directly in the nix store rather than having the superfluous /bin/ tree.
| * | | luksroot: Add missing quote (#44639)Edmund Wu2018-08-07
| | | |
| * | | nixos/luksroot: Support keyfile offsetsJanne Heß2018-08-07
| | | |
| * | | Merge pull request #42877 from Infinisil/systemd-boot/consoleModeSilvan Mosberger2018-08-04
| |\ \ \ | | |_|/ | |/| | nixos/systemd-boot: Add consoleMode option
| | * | nixos/systemd-boot: Add consoleMode optionSilvan Mosberger2018-07-02
| | | |
* | | | stage-1: Remove last reference of now-removed stdenv.isCrossJohn Ericson2018-08-06
| | | |
* | | | systemd: 238 -> 239Jörg Thalheim2018-08-06
|/ / /
* | | Merge pull request #44202 from jerith666/journald-rateJörg Thalheim2018-07-30
|\ \ \ | | | | | | | | journald: set rateLimitInterval and rateLimitBurst to upstream defaults
| * | | journald: set rateLimitInterval and rateLimitBurst to upstream defaultsMatt McHenry2018-07-29
| | | |
* | | | Merge pull request #43682 from primeos/never-stop-system.sliceMichael Weiss2018-07-28
|\ \ \ \ | |_|_|/ |/| | | nixos/switch-to-configuration: Never stop system.slice
| * | | nixos/switch-to-configuration: Never stop system.sliceMichael Weiss2018-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Restarting (stopping) system.slice would not only stop X11 but also most system units/services. We obviously don't want this happening to users when they switch from 18.03 to 18.09 or nixos-unstable. Reason: The following change in systemd: https://github.com/systemd/systemd/commit/d8e5a9338278d6602a0c552f01f298771a384798 The commit adds system.slice to the perpetual units, which means removing the unit file and adding it to the source code. This is done so that system.slice can't be stopped anymore but in our case it ironically would cause this script to stop system.slice because the unit file was removed (and an older systemd version is still running). Related issue: https://github.com/NixOS/nixpkgs/issues/39791
* | | | Merge pull request #41970 from ↵Matthew Bauer2018-07-23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | aneeshusa/enable-building-systemd-without-libmicrohttpd nixos/systemd: Allow building systemd without libmicrohttpd
| * | | | nixos/systemd: Allow building systemd without libmicrohttpdAneesh Agrawal2018-06-13
| | |/ / | |/| |
* | | | [bot] nixos/*: remove unused arguments in lambdasvolth2018-07-20
| | | |