about summary refs log tree commit diff
path: root/nixos/modules/system
Commit message (Collapse)AuthorAge
* plymouth: Fix reference to NixOS versionTim Steinbach2018-02-19
|
* Merge pull request #34795 from oxij/os/nixosLabel-pt2Michael Raskin2018-02-19
|\ | | | | nixos: labels part 2
| * nixos: rename config.system.nixos* -> config.system.nixos.*Jan Malakhovski2018-02-18
| |
| * nixos: add system.boot.loader.initrdFile option and use it where appropriateJan Malakhovski2018-02-18
| |
* | nixos/binfmt: Initial binfmt_msc support.Shea Levy2018-02-18
|/
* Merge pull request #34492 from rnhmjoj/privacyJoachim F2018-02-17
|\ | | | | nixos/networking-interfaces: add preferTempAddress option
| * nixos/networking-interfaces: add preferTempAddress optionrnhmjoj2018-02-01
| |
* | nixos/boot: allow kernel.printk override (#34958)Matthieu Coudron2018-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At one point in my configuration I had: boot.kernel.sysctl = { # https://unix.stackexchange.com/questions/13019/description-of-kernel-printk-values "kernel.printk" = "4 4 1 7"; }; which triggered: error: The unique option `boot.kernel.sysctl.kernel.printk' is defined multiple times, in `/home/teto/dotfiles/nixpkgs/mptcp-unstable.nix' and `/home/teto/nixpkgs/nixos/modules/system/boot/kernel.nix'. (use ‘--show-trace’ to show detailed location information) Traceback (most recent call last): File "/home/teto/nixops/scripts/nixops", line 984, in <module> args.op() File "/home/teto/nixops/scripts/nixops", line 406, in op_deploy max_concurrent_activate=args.max_concurrent_activate) File "/home/teto/nixops/nixops/deployment.py", line 1045, in deploy self.run_with_notify('deploy', lambda: self._deploy(**kwargs)) File "/home/teto/nixops/nixops/deployment.py", line 1034, in run_with_notify f() File "/home/teto/nixops/nixops/deployment.py", line 1045, in <lambda> self.run_with_notify('deploy', lambda: self._deploy(**kwargs)) File "/home/teto/nixops/nixops/deployment.py", line 985, in _deploy self.configs_path = self.build_configs(dry_run=dry_run, repair=repair, include=include, exclude=exclude) File "/home/teto/nixops/nixops/deployment.py", line 653, in build_configs raise Exception("unable to build all machine configurations") Exception: unable to build all machine configurations This simple addition allows to override it.
* | Merge staging and PR #35021Vladimír Čunát2018-02-16
|\ \ | | | | | | | | | | | | It's the last staging commit (mostly) built on Hydra, and a minimal fix for Darwin regression in pysqlite.
| * | systemd: 234 -> 237Franz Pletz2018-02-13
| | | | | | | | | | | | | | | Co-Authored-By: Florian Klink <flokli@flokli.de> Co-Authored-By: Andreas Rammhold <andreas@rammhold.de>
* | | makeModulesClosure: support firmwareNikolay Amiantov2018-02-16
| | | | | | | | | | | | Link it in stage 1.
* | | nixos: make `boot.kernel.features` internalHerwig Hochleitner2018-02-15
| | | | | | | | | | | | | | | This isn't useful as public API. It should be used by options to activate kernel features for use with specific programs.
* | | boot.kernel.features: add nixos option for setting kernel featuresHerwig Hochleitner2018-02-15
|/ / | | | | | | | | this allows setting the features attribute for pkgs/os-specific/linux/kernel/common-config.nix
* / nixos/availableKernelModules: add a keyboard moduleVladimír Čunát2018-02-03
|/ | | | | Non-working keyboards during boot are quite a problem; see: https://github.com/NixOS/nixpkgs/pull/33529#issuecomment-361164997
* nixos/initrd: Don't include some x86-specific modules unconditionallyTuomas Tynkkynen2018-01-22
|
* nixos/initrd-network: fix docbook syntaxJörg Thalheim2018-01-22
|
* initrd-network: Document the need for modulesSvein Ove Aas2018-01-21
|
* nixos/availableKernelModules: add logitech hidJaakko Luttinen2018-01-06
| | | | This adds support for Logitech (wireless) USB keyboards at boot
* nixos: introduce boot.growPartition (#33521)zimbatm2018-01-06
| | | Move it from being a profile
* luksRoot: add the missing ECB dependency to fix XTS support, resolves #30940Evgeny Egorochkin2017-12-22
|
* Merge pull request #32829 from flokli/input_ledsJörg Thalheim2017-12-19
|\ | | | | boot.initrd.luks: add input_leds module
| * boot.initrd.luks: add input_leds moduleFlorian Klink2017-12-19
| | | | | | | | | | | | | | To get working caps lock lights already at stage 1, the input_leds module needs to be loaded. Closes #12456.
* | Merge pull request #32268 from volth/patch-74Jörg Thalheim2017-12-17
|\ \ | | | | | | nixos/initrd-ssh: generate hostkeys if absent
| * | initrd-ssh: generate hostkeys if absentvolth2017-12-03
| |/
* / plymouth: add breeze-plymouth as default themeMichael Peyton Jones2017-12-11
|/
* nixos/system: make switch-to-configuration script pure.Gleb Peregud2017-11-19
| | | | | | | Fixes #28443 Fixed few invocations to `systemctl` to have an absolute path. Additionally add LOCALE_ARCHIVE so that perl stops spewing warning messages.
* Merge pull request #30665 from michaelpj/imp/plymouth-themesOrivej Desh2017-11-06
|\ | | | | plymouth: fix breeze-plymouth (and other themes)
| * plymouth: try to remove more references in themesMichael Peyton Jones2017-10-21
| |
* | plymouth service: fix symlink to defaultsErlend Pedersen2017-10-24
|/ | | | | Symlink for plymouthd.defaults was pointing to nonexisting target because of a spelling error.
* nixos/resolved: clean up option descriptionsRobert Helgesson2017-10-17
| | | | Also change LLMNR RFC to the correct id 4795.
* Revert "networkd: only wait for network to be online if configured to do so"Peter Hoeg2017-10-14
| | | | This reverts commit 8f21e089a8de9eaa2512af25191d17077eca223a.
* networkd: only wait for network to be online if configured to do soPeter Hoeg2017-10-14
|
* Merge pull request #30172 from mayflower/cleanup/firmware-modulesFranz Pletz2017-10-12
|\ | | | | nixos: clean up wifi firmware & default kernel modules
| * nixos: clean up kernel modulesFranz Pletz2017-10-07
| | | | | | | | | | | | | | | | * the keyboard modules in all-hardware.nix are already defaults of boot.initrd.availableKernelModules * ide modules, hid_lenovo_tpkbd and scsi_wait_scan have been removed because they're not available anymore * i8042 was a duplicate (see few lines abowe)
* | nixos: Fix detection of btrfs root volumeaszlig2017-10-11
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression introduced by 801c920e95642ec663d4aa486c81e5443e25b182. Since then, the btrfsSimple subtest of the installer VM test fails with: Btrfs did not return a path for the subvolume at / The reason for this is that the output for "btrfs subvol show" has changed between version 4.8.2 and 4.13.1. For example the output of "btrfs subvol show /" in version 4.8.2 was: / is toplevel subvolume In version 4.13.1, the output now is the following and thus the regular expressions used in nixos-generate-config.pl and install-grub.pl now match (which results in the error mentioned above): / Name: <FS_TREE> UUID: - Parent UUID: - Received UUID: - Creation time: - Subvolume ID: 5 Generation: 287270 Gen at creation: 0 Parent ID: 0 Top level ID: 0 Flags: - Snapshot(s): In order to fix this I've changed nixos-generate-config.pl and install-grub.pl, because both use "btrfs subvol show" in a similar vein, so the regex for parsing the output now doesn't match anymore whenever the volume path is "/", which should result in the same behaviour as we had with btrfs-progs version 4.8.2. Tested against the btrfsSimple, btrfsSubvols and btrfsSubvolDefault subtests of the installer VM test and they all succeed now. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos: skip restarting systemd-logind to not break x11Joerg Thalheim2017-09-27
|
* systemd-tmpfiles: fix docsRobin Gloster2017-09-24
| | | | We have been doing this since 4e4161c21268d6952f0f0f5130414e30dcf5cd97
* Merge pull request #29344 from ↵Jörg Thalheim2017-09-22
|\ | | | | | | | | Moredread/fix/fileystem-encrypted-keyfile-missing-initrd-support nixos/fileystems: Fix boot fails with encrypted fs
| * nixos/fileystems: Fix boot fails with encrypted fsAndré-Patrick Bubel2017-09-14
| | | | | | | | | | | | | | | | | | | | | | Boot fails when a keyfile is configured for all encrypted filesystems and no other luks devices are configured. This is because luks support is only enabled in the initrd, when boot.initrd.luks.devices has entries. When a fileystem has a keyfile configured though, it is setup by a custom command, not by boot.initrd.luks. This commit adds an internal config flag to enable luks support in the initrd file, even if there are no luks devices configured.
* | systemd: better document enabled, wantedBy, and requiredBy (#29453)Matt McHenry2017-09-16
|/ | | | | | the systemd.unit(5) discussion of wantedBy and requiredBy is in the [Install] section, and thus focused on stateful 'systemctl enable'. so, clarify that in NixOS, wantedBy & requiredBy are still what most users want, and not to be confused with enabled.
* Include date and NixOS version in systemd-boot entriesGraham Christensen2017-09-02
| | | | | | | | | | | | | Grub configs include the NixOS version and date they were built, now systemd can have fun too: version Generation 99 NixOS 17.03.1700.51a83266d1, Linux Kernel 4.9.43, Built on 2017-08-30 version Generation 100 NixOS 17.03.1700.51a83266d1, Linux Kernel 4.9.43, Built on 2017-08-30 version Generation 101 NixOS 17.03.1700.51a83266d1, Linux Kernel 4.9.43, Built on 2017-08-31 version Generation 102 NixOS 17.03.1700.51a83266d1, Linux Kernel 4.9.43, Built on 2017-09-01 version Generation 103 NixOS 17.03.1700.51a83266d1, Linux Kernel 4.9.43, Built on 2017-09-02 version Generation 104 NixOS 17.09beta41.1b8c7786ee, Linux Kernel 4.9.46, Built on 2017-09-02 version Generation 105 NixOS 17.09.git.1b8c778, Linux Kernel 4.9.46, Built on 2017-09-02
* nixos/bcachefs: init moduledavidak2017-08-31
|
* grub module: assume /nix/store is a bind mount even if it is not read onlySymphorien Gibol2017-08-31
| | | | Fixes #14999
* switch-to-configuration: fix detection of changes between rebuilds for ↵danbst2017-08-22
| | | | | | | | | | | | | | | | | | | | | template instances This makes declarative containers truly reloadable. Current code already declares it: https://github.com/NixOS/nixpkgs/blob/56904d7c423f2b13b37fbd29f39bbb4b52bc7824/nixos/modules/virtualisation/containers.nix#L488 ``` restartIfChanged = false; ``` https://github.com/NixOS/nixpkgs/blob/56904d7c423f2b13b37fbd29f39bbb4b52bc7824/nixos/modules/virtualisation/containers.nix#L540 ``` reloadIfChanged = true; ``` Original author: @chrisfarms in https://github.com/NixOS/nixpkgs/pull/3021/commits/6e36619b277f78ece1bb81b79b5651897e46a2bf Most of stuff from that commit has already been ported.
* modules: specify some typesRobin Gloster2017-08-04
|
* modules/systemd: improve logind.extraConfig exampleProfpatsch2017-08-03
| | | | Since we have a .handleLidSwitch option now, give an other example.
* environment.etc: add user/group optionVolth2017-07-29
| | | | fixes #27546
* nixos/systemd-networkd: allow [Link] section in .network filesFlorian Jacob2017-07-29
|
* swap: extend randomEncryption to plainOpen and ability to select cipherMartin Wohlert2017-07-26
|
* Merge pull request #26912 from knedlsepp/fix-autoResizeGraham Christensen2017-07-16
|\ | | | | nixos: Force check the filesystem before resizing