summary refs log tree commit diff
path: root/nixos/modules/system
Commit message (Collapse)AuthorAge
...
| * 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
* Fix #19382 set ownership of /var/empty to root:rootNathan Bijnens2016-10-09
|
* 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
| | | | | |
| | * | | | etc module: optionSet -> submoduleEric Sagnes2016-09-13
| | | | | |
| | * | | | luksroot module: optionSet -> submoduleEric Sagnes2016-09-13
| | | | | |
| | * | | | grub module: optionSet -> submoduleEric Sagnes2016-09-13
| | |/ / /
| * | | | switch-to-configuration: fix restart of socket activated servicesNikolay Amiantov2016-09-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes two bugs: * When socket activation is detected, the service itself is added to stop-start list instead of its sockets. * When service is marked to restart instead of stop (`StopIfChanged = no`) we don't need to restart sockets.
| * | | | 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.
* | | | | Add stdenvNoCCEelco Dolstra2016-09-29
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | This is a standard environment that doesn't contain a C/C++ compiler. This is mostly to prevent trivial builders like runCommand and substituteAll from pulling in gcc for simple configuration changes on NixOS.
* | / / NixOS: Use runCommand instead of mkDerivation in a few placesEelco Dolstra2016-09-29
| |/ / |/| |
* | | nixos/activation: Rename "tmpfs" to "specialfs"aszlig2016-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using "tmpfs" as a script part for system.activationScripts is a bit misleading since 6efcfe03ae4ef426b77a6827243433b5296613a4. We no longer solely mount tmpfs within this script, so using "specialfs" fits more nicely in terms of naming. Tested against the "simple" NixOS installer test. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* | | nixos/activation: Avoid remounting non-existing FSaszlig2016-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression introduced by 79d4636d506094eae3c5c7575a0bef817cba9bda. The mentioned commit moves /run/keys from stage 2 to boot.specialFileSystems, the latter being remounted during system activation. Unfortunately, the specialMount function in the activation script does this unconditionally and thus will fail if it can't be remounted because the mount point simply doesn't exist. We now check the mount point for existance and only remount if it exists but mkdir + mount it if it doesn't. Tested against the "simple" NixOS installer test. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* | | 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
| | |
* | | /var/empty: silently ignore errors (if on tmpfs) #18781Domen Kožar2016-09-21
| | |
* | | 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
* | Merge pull request #18573 from peterhoeg/systemd_user_cfgEelco Dolstra2016-09-14
|\ \ | |/ |/| systemd: support setting defaults for user instances
| * support user configPeter Hoeg2016-09-08
| |
* | treewide: fix fallout of ip-up deprecationFranz Pletz2016-09-11
| | | | | | | | | | | | | | | | See #18319 for details. Starting network-online.target manually does not work as it hangs indefinitely. Additionally, don't treat avahi and dhcpcd special and sync their systemd units with the respective upstream suggestion.
* | treewide: deprecate ip-up.target (#18319)Alexander Ried2016-09-10
| | | | | | | | | | Systemd upstream provides targets for networking. This also includes a target network-online.target. In this PR I remove / replace most occurrences since some of them were even wrong and could delay startup.
* | Linux-kernel: Workaround for https://github.com/NixOS/nixpkgs/issues/18451Lengyel Balázs2016-09-09
| | | | | | | | remove after upstream gets fixed
* | nixos/stage2: Fix mounting special filesystemsaszlig2016-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This partially reverts commit ab9537ca22ce3fd4efc1795c58105504022d0c48. From the manpage of systemd-nspawn(1): Note that systemd-nspawn will mount file systems private to the container to /dev, /run and similar. Testing this in a shell turns out: $ sudo systemd-nspawn --bind-ro=/nix/store "$(readlink "$(which ls)")" /proc Spawning container aszlig on /home/aszlig. Press ^] three times within 1s to kill container. /etc/localtime does not point into /usr/share/zoneinfo/, not updating container timezone. 1 execdomains kpageflags stat acpi fb loadavg swaps asound filesystems locks sys buddyinfo fs meminfo sysrq-trigger bus interrupts misc sysvipc cgroups iomem modules thread-self cmdline ioports mounts timer_list config.gz irq mtrr timer_stats consoles kallsyms net tty cpuinfo kcore pagetypeinfo uptime crypto key-users partitions version devices keys scsi vmallocinfo diskstats kmsg self vmstat dma kpagecgroup slabinfo zoneinfo driver kpagecount softirqs Container aszlig exited successfully. So the test on whether PID 1 exists in /proc is enough, because if we use PID namespaces there actually _is_ a PID 1 (as shown above) and the special file systems are already mounted. A test on the $containers variable actually mounts them twice. This unbreaks NixOS containers and I've tested this against the containers-imperative NixOS test. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @rickynils, @shlevy, @edolstra
* | Merge branch 'stage2-generalise-containers' of ↵Shea Levy2016-09-07
|\ \ | | | | | | | | | https://github.com/rickynils/nixpkgs
| * | nixos: Generalise the container tests in stage-2 bootRickard Nilsson2016-09-07
| |/ | | | | | | | | | | | | | | This way, stage-2 behaves correctly also for libvirt-lxc containers. Some more discussion on this: https://github.com/NixOS/nixpkgs/commit/a7a08188bf650ababa36300a9a6f34169e2a73bf https://github.com/NixOS/nixpkgs/commit/bfe46a653ba2f8ff9902128f485cbd87c49cbca7
* | hardcode e2fsprogs, idempotent chmod, remove care conditionDomen Kožar2016-09-07
| |
* | Make /var/empty immutableDomen Kožar2016-09-06
|/ | | | | | | Fixes #14910 and #18358 Deployed to an existing server, restarted sshd and polkit to verify they don't fail.