summary refs log tree commit diff
path: root/nixos/modules/system
Commit message (Collapse)AuthorAge
* 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
| | | |
* | | | [bot]: remove unreferenced codevolth2018-07-20
| | | |
* | | | nixos: systemd.globalEnvironment: fix typeSilvan Mosberger2018-07-18
| |/ / |/| | | | | | | | | | | | | | | | | Follow up fix of fb2a8d66699c96d6a687eb71ebfcca08e3405037 https://github.com/NixOS/nixpkgs/pull/38356 https://github.com/NixOS/nixpkgs/pull/40416
* | | Merge pull request #43169 from samueldr/fix/stripDirsMatthew Bauer2018-07-14
|\ \ \ | | | | | | | | Fixes `stripDirs` use after signature change
| * | | stage-1: Fixes use of stripDirs.Samuel Dionne-Riel2018-07-07
| | |/ | |/|
* / | nixos/modules: users.(extraUsers|extraGroup->users|group)Florian Klink2018-06-30
|/ /
* | networkmanager: Expand dns description, integrate with other services (#41898)Benjamin Staffin2018-06-29
| | | | | | | | | | Rather than special-casing the dns options in networkmanager.nix, use the module system to let unbound and systemd-resolved contribute to the newtorkmanager config.
* | nixos/stage-1: Make find-libs not choke on dynamic linker being in DT_NEEDEDTuomas Tynkkynen2018-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | find-libs is currently choking when it finds the dynamic linker as a DT_NEEDED dependency (from glibc) and bails out like this (as glibc doesn't have a RPATH): Couldn't satisfy dependency ld-linux-x86-64.so.2 Actually the caller of find-libs ignores the exit status, so the issue almost always goes unnoticed and happens to work by chance. But additionally what happens is that indirect .so dependencies are left out from the dependency closure calculation, which breaks latest cryptsetup as libssl.so isn't found anymore.
* | Merge pull request #42211 from dje4321/dje4321Jörg Thalheim2018-06-19
|\ \ | | | | | | Grub: default is signed int. Fixes #42152
| * | added suggestion to support both str and intEmily Ann Ediger2018-06-19
| | |