about summary refs log tree commit diff
path: root/nixos/modules/system/boot
Commit message (Collapse)AuthorAge
* systemd: add slice supportMarkov Dmitry2016-12-20
|
* networkd: add extraConfig to all unitsJörg Thalheim2016-12-17
| | | | | | networkd options are always correct or up to date. This option allows to by pass type checking. It is also easier to write because examples can be just copy and paste from manpages.
* networkd: allow to supply own unit filesJörg Thalheim2016-12-17
| | | | | | | | | | Networkd units can contain secrets. In future also wireguard vpn will be supported by networkd. To avoid leakage of private keys, those could be then also put outside of the /nix/store Having a writeable /etc/systemd/network also allows to quick fix network issues, when upgrading `nixos-rebuild switch` would require network on its own (due updates).
* Revert "fix 2 xml errors in the description of ↵Bjørn Forsman2016-12-17
| | | | | | | | | | | | | | | | | | | boot.loader.grub.efiInstallAsRemovable" This reverts commit 656cc3acafcb30e3503f4d3e39694ca996c66015 because it causes building the manual to fail: $ nixos-rebuild build ... building path(s) ‘/nix/store/s9y5z78z5pssvmixcmv9ix13gs8xj87f-manual-olinkdb’ Writing /nix/store/s9y5z78z5pssvmixcmv9ix13gs8xj87f-manual-olinkdb/manual.db for book(book-nixos-manual) ./man-pages.xml:625: element para: Relax-NG validity error : Did not expect element para there ./man-pages.xml:3: element variablelist: Relax-NG validity error : Element refsection has extra content: variablelist ./man-pages.xml:29: element refsection: Relax-NG validity error : Element refentry has extra content: refsection ./man-pages.xml:3: element reference: Relax-NG validity error : Element reference failed to validate content ./man-pages.xml fails to validate CC @cleverca22, @Mic92
* ntp: make timesyncd the new defaultJörg Thalheim2016-12-17
| | | | | | | | - most nixos user only require time synchronisation, while ntpd implements a battery-included ntp server (1,215 LOCs of C-Code vs 64,302) - timesyncd support ntp server per interface (if configured through dhcp for instance) - timesyncd is already included in the systemd package, switching to it would save a little disk space (1,5M)
* fix 2 xml errors in the description of boot.loader.grub.efiInstallAsRemovablemichael bishop2016-12-16
|
* fix indentation in several nixos option descriptionsmichael bishop2016-12-16
|
* nixos/modules: use defaultText where applicableJoachim Fasting2016-11-21
| | | | | | Primarily to fix rendering of these default values in the manual but it's also nice to avoid having to eval these things just to build the manual.
* Merge pull request #19379 from nixy/masterJörg Thalheim2016-11-21
|\ | | | | grub bootloader: add forceInstall option
| * grub bootloader: add forceInstall optionAndrew R. M2016-11-03
| | | | | | | | | | | | Using the --force option on GRUB isn't recommended, but there are very specific instances where it makes sense. One example is installing on a partitionless disk.
* | Merge pull request #20469 from Mic92/initrd-sshJörg Thalheim2016-11-18
|\ \ | | | | | | initrd-ssh: fix authorized_key generation with multiple keys
| * | initrd-ssh: fix authorized_key generation with multiple keysJörg Thalheim2016-11-16
| | | | | | | | | | | | multiple entries should be separated by newline
* | | raspberrypi module: use enumEric Sagnes2016-11-16
|/ /
* / grub module: use enumEric Sagnes2016-11-04
|/
* nixos/stage1: Fix local keyword outside functionaszlig2016-10-28
| | | | | | | | | | | | | | | | | | | | Thanks to @NeQuissimus in a5c1985fef381b1fb5d75d3b4028ed5b5d4454b3 for updating busybox, which since version 1.25 doesn't allow local variables outside of functions anymore (which is the desired behaviour). See the following upstream commit of busybox which is the change that let's this problem surface: https://git.busybox.net/busybox/commit/?id=ef2386b80abfb22ccb697ddbdd4047aacc395c50 So this has been an error I've made on my end in 67223ee205364afb203361b134f16b890c4d726c, because I originally had a function for killing the processes but desired to inline it because it's only used in one place. This fixes the boot-stage1 NixOS test. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* initrd: Include i8042 kernel moduleEelco Dolstra2016-10-21
| | | | | | | | | | | | | For some reason, between Linux 4.4.19 and 4.4.20, the atkbd and libps2 kernel modules lost their dependency on i8042 in modules.dep, causing i8042 not to be included in the initrd. This breaks keyboard in the initrd, in turn breaking LUKS. This only happens on the 16.03 branch; on 16.09, it appears i8042 is pulled into the initrd anyway (through some other dependency, presumably). But let's include it explicitly. http://hydra.nixos.org/build/40468431
* Merge pull request #19668 from groxxda/timersTim Steinbach2016-10-20
|\ | | | | systemd.timers: automatically convert string to list
| * systemd.timers: filter timers with empty startAtAlexander Ried2016-10-19
| |
| * systemd.timers.startOn: automatically convert string to listAlexander Ried2016-10-19
| |
* | nspawn module: optionSet -> submoduleEric Sagnes2016-10-21
|/
* nixos: make it easy to apply kernel patchesCharles Strahan2016-10-11
| | | | | | | | | | | | | | | | | | | | This makes it easy to specify kernel patches: boot.kernelPatches = [ pkgs.kernelPatches.ubuntu_fan_4_4 ]; To make the `boot.kernelPatches` option possible, this also makes it easy to extend and/or modify the kernel packages within a linuxPackages set. For example: pkgs.linuxPackages.extend (self: super: { kernel = super.kernel.override { kernelPatches = super.kernel.kernelPatches ++ [ pkgs.kernelPatches.ubuntu_fan_4_4 ]; }; }); Closes #15095
* systemd.nspawn: add definition (#18320)Alexander Ried2016-10-08
| | | | this adds the option to manage systemd.nspawn files via config.systemd.nspawn. The files are placed in "/etc/systemd/nspawn".
* Merge branch 'kde-5' into stagingThomas Tuegel2016-10-04
|\
| * Merge pull request #19069 from peterhoeg/targetsJörg Thalheim2016-10-03
| |\ | | | | | | systemd: add user target support
| | * systemd: add user target supportPeter Hoeg2016-09-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to define system user targets in addition to the existing services, timers and sockets. Furthermore, we add a top-level configuration keyword: - Documentation
* | | Merge pull request #19199 from wizeman/u/fix-help2man-hashJörg Thalheim2016-10-03
|\| | | | | | | | help2man: fix hash
| * | Merge pull request #19102 from Mic92/systemd-bootJörg Thalheim2016-10-03
| |\ \ | | | | | | | | systemd-boot: port builder to python3
| | * | systemd-boot: inline add_entry functionJörg Thalheim2016-09-30
| | | |
| | * | systemd-boot: port builder to python3Jörg Thalheim2016-09-30
| | | | | | | | | | | | | | | | see #18185
| * | | networkd module: fix submodule options declarationEric Sagnes2016-10-03
| | | |
| * | | Merge pull request #18491 from groxxda/network-interfacesJoachim F2016-10-02
| |\ \ \ | | | | | | | | | | Replace Network-interfaces.target
| | * | | systemd-networkd.service: remove network-interfaces.target orderingAlexander Ried2016-09-13
| | | | |
| | * | | multi-user.target should not pull network.targetAlexander Ried2016-09-13
| | | | |
* | | | | Merge remote-tracking branch 'upstream/master' into stagingTuomas Tynkkynen2016-10-02
|\| | | |
| * | | | Merge pull request #18511 from ericsagnes/feat/remove-optionSetJoachim F2016-10-01
| |\ \ \ \ | | | | | | | | | | | | modules: optionSet -> submodule
| | * | | | systemd module: optionSet -> submoduleEric Sagnes2016-09-13
| | | | | |
| | * | | | networkd module: optionSet -> submoduleEric Sagnes2016-09-13
| | | | | |
| | * | | | luksroot module: optionSet -> submoduleEric Sagnes2016-09-13
| | | | | |
| | * | | | grub module: optionSet -> submoduleEric Sagnes2016-09-13
| | |/ / /
| * | | | systemd-journald service: restart instead of stop and startNikolay Amiantov2016-09-30
| | | | | | | | | | | | | | | | | | | | Also restart when configuration is changed.
* | | | | runCommand: Use stdenvNoCCEelco Dolstra2016-09-29
|/ / / / | | | | | | | | | | | | | | | | | | | | This ensures that most "trivial" derivations used to build NixOS configurations no longer depend on GCC. For commands that do invoke gcc, there is runCommandCC.
* | / / NixOS: Use runCommand instead of mkDerivation in a few placesEelco Dolstra2016-09-29
| |/ / |/| |
* | | grub: Do not check for duplicated devices in mirroredBoots on UEFI (#18625)jokogr2016-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Grub is to be used with UEFI, it is not going to write to any MBR of any disk. As such, it is safe to use multiple "nodev" device entries when mirroring the ESP partition to multiple disks. E.g.: ``` boot.loader.grub = { enable = true; version = 2; zfsSupport = true; efiSupport = true; mirroredBoots = [ { devices = [ "nodev" ]; path = "/boot1"; efiSysMountPoint = "/boot1"; } { devices = [ "nodev" ]; path = "/boot2"; efiSysMountPoint = "/boot2"; } { devices = [ "nodev" ]; path = "/boot3"; efiSysMountPoint = "/boot3"; } ]; }; boot.loader.efi.canTouchEfiVariables = true; ``` Fixes #18584
* | | stage-1 module: remove check that swap device has a labelNikolay Amiantov2016-09-24
| | | | | | | | | | | | | | | | | | | | | | | | All swap device option sets "have" a label, it's just that sometimes it's undefined. Because we set a `device` attribute when we have a label anyway it's ok to just check device prefix. Fixes #18891.
* | | Merge pull request #18691 from abbradar/keys-fsNikolay Amiantov2016-09-24
|\ \ \ | |_|/ |/| | stage-2 init: move /run/keys mount to boot.specialFileSystems
| * | stage-2 init: move /run/keys mount to boot.specialFileSystemsNikolay Amiantov2016-09-17
| | |
* | | initrd-ssh service: check that authorized keys are addedNikolay Amiantov2016-09-20
|/ /
* | grub: fix manual buildobadz2016-09-16
| |
* | grub: clarify efiInstallAsRemovable docstringobadz2016-09-16
| |
* | grub: add boot.loader.grub.efiInstallAsRemovableobadz2016-09-16
| | | | | | | | Closes #16374