summary refs log tree commit diff
path: root/nixos/modules/virtualisation
Commit message (Collapse)AuthorAge
* Revert "Merge #67232: machinectl compliant NixOS installation"Vladimír Čunát2019-10-07
| | | | | | This reverts commit 66967ec7521d065f605795d64ddbbbd4fcd448c3, reversing changes made to fb6595eafdb90ef0bc7a31c2bfc9204e4cad11d9. Fixes #70442; discussion: https://github.com/NixOS/nixpkgs/pull/70027
* Merge pull request #70447 from ↵Joachim F2019-10-06
|\ | | | | | | | | joachifm/feat/containers-private-networking-lockKernelModules-compat nixos/containers: explicitly load kernel modules for networking
| * nixos/containers: explicitly load kernel modules for networkingJoachim Fasting2019-10-05
| | | | | | | | | | | | | | List all modules that *may* be required depending on individual container configurations; don't expect that further modules can be loaded after boot. Fixes https://github.com/NixOS/nixpkgs/issues/38676
* | Merge pull request #69387 from peterhoeg/f/optimisePeter Hoeg2019-09-26
|\ \ | | | | | | nixos/nix-optimise: be smarter about when we run the store optimiser
| * | nixos/nix-optimise: be smarter about when we run the store optimiserPeter Hoeg2019-07-03
| | | | | | | | | | | | | | | | | | | | | | | | We might be inside a NixOS container on a non-NixOS host, so instead of not running at all inside a container, check if the nix-daemon socket is writable as it will tell us if the store is managed from here or outside. Fixes #63578
* | | Merge pull request #67232 from ck3d/container-useHostResolvConfFranz Pletz2019-09-25
|\ \ \ | |_|/ |/| | machinectl compliant NixOS installation
| * | container config: better default in case of resolvedChristian Kögler2019-09-13
| | | | | | | | | | | | | | | Avoid assertion in nixos/modules/system/boot/resolved.nix if service systemd-resolved is enabled.
* | | Add cri-o service to modules (#68153)Sascha Grunert2019-09-21
|/ / | | | | Signed-off-by: Sascha Grunert <sgrunert@suse.com>
* | Merge master into staging-nextFrederik Rietdijk2019-09-06
|\ \
| * | nixos/railcar: remove use of the deprecated string typeIvan Kozik2019-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the warning being emitted by nixos-rebuild switch: building Nix... building the system configuration... trace: warning: types.string is deprecated because it quietly concatenates strings It started emitting a warning in #66346.
* | | Merge branch 'master' into staging-nextJan Tojnar2019-09-06
|\| | | | | | | | | | | Fixed trivial conflicts caused by removing rec.
| * | Merge branch 'gtk-no-plus'Jan Tojnar2019-09-06
| |\ \
| | * | tree-wide: s/GTK+/GTK/gJan Tojnar2019-09-06
| | | | | | | | | | | | | | | | GTK was renamed.
| * | | nixos/railcar: small style changesKatharina Fey2019-09-04
| | | |
| * | | nixos/railcar: initKatharina Fey2019-09-04
| | | |
| * | | amazon-image.nix: add EFI support, enable by default for aarch64Andrew Childs2019-09-05
| |/ /
* | | Merge branch 'master' into stagingVladimír Čunát2019-09-02
|\| |
| * | nixos: remove dependencies on local-fs.targetFlorian Klink2019-09-01
| | | | | | | | | | | | | | | | | | | | | Since https://github.com/NixOS/nixpkgs/pull/61321, local-fs.target is part of sysinit.target again, meaning units without DefaultDependencies=no will automatically depend on it, and the manual set dependencies can be dropped.
| * | Merge pull request #67848 from flokli/google-compute-config-unitsFlorian Klink2019-09-01
| |\ \ | | | | | | | | google-compute-config.nix: fix comments, update google-*.service units, fix paths in gce
| | * | google-compute-config.nix: use sysctl snippets from gceFlorian Klink2019-09-01
| | | | | | | | | | | | | | | | | | | | We make them available at ${gce}/sysctl.d and add them to environments.etc, like we do with the systemd ones.
| | * | google-compute-config.nix: add coreutils to google-instance-setup's $PATHFlorian Klink2019-09-01
| | | | | | | | | | | | | | | | It executes bin/google_set_multiqueue which will execute basename
| | * | google-compute-config: sync with upstream unitsFlorian Klink2019-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With local-fs.target part of sysinit.target (https://github.com/NixOS/nixpkgs/pull/61321), we don't need to add it explicitly to certain units anymore, and can change dependencies like they are in other distros (I picked from Google's official CentOS 7 image here). Like them, use StandardOutput=journal+console to pipe google-*.service output to the serial console as well.
| | * | google-compute-config.nix: update comment about ssh loginFlorian Klink2019-08-31
| | | | | | | | | | | | | | | | also move OS Login next to it, for better understandability
| | * | google-compute-config: remove amazon pv-grub commentFlorian Klink2019-08-31
| | | |
| * | | nixos/modules: Remove all usages of types.stringSilvan Mosberger2019-08-31
| |/ / | | | | | | | | | | | | | | | And replace them with a more appropriate type Also fix up some minor module problems along the way
* | | Merge staging-next into stagingFrederik Rietdijk2019-08-31
|\| |
| * | nixos-containers: add TimeoutStartSec optiondavidak2019-08-28
| | | | | | | | | | | | | | | | | | | | | | | | Default is now 1m instead of global default of 15sec. It is also configurable. Fixes issue where start of many containers (40+) fail https://github.com/NixOS/nixpkgs/issues/65001
* | | Merge staging-next into stagingFrederik Rietdijk2019-08-28
|\| |
| * | libvirtd: add onBoot optionAlexander Bakker2019-08-23
| | | | | | | | | | | | | | | | | | | | | | | | This adds a new ``onBoot`` option that allows specifying the action taken on guests when the host boots. Specifying "start" ensures all guests that were running prior to shutdown are started, regardless of their autostart settings. Specifying "ignore" will make libvirtd ignore such guests. Any guest marked as autostart will still be automatically started by libvirtd.
| * | Revert "nixos/containers: add unprivileged option"Marek Mahut2019-08-23
| | |
| * | Merge pull request #67130 from uvNikita/containers/unprivilegedMarek Mahut2019-08-23
| |\ \ | | | | | | | | nixos/containers: add unprivileged option
| | * | nixos/containers: add unprivileged optionNikita Uvarov2019-08-21
| | | | | | | | | | | | | | | | Fixes #57083.
| * | | nixos/containers: fix imperative containersNikita Uvarov2019-08-21
| |/ / | | | | | | | | | Fixes #67174.
| * | Merge pull request #66846 from uvNikita/containers/ephemeralMarek Mahut2019-08-19
| |\ \ | | | | | | | | nixos/containers: add 'ephemeral' option
| | * | nixos/containers: add 'ephemeral' optionNikita Uvarov2019-08-19
| | | |
| * | | nixos/systemd: install sysctl snippetsFlorian Klink2019-08-18
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | systemd provides two sysctl snippets, 50-coredump.conf and 50-default.conf. These enable: - Loose reverse path filtering - Source route filtering - `fq_codel` as a packet scheduler (this helps to fight bufferbloat) This also configures the kernel to pass coredumps to `systemd-coredump`. These sysctl snippets can be found in `/etc/sysctl.d/50-*.conf`, and overridden via `boot.kernel.sysctl` (which will place the parameters in `/etc/sysctl.d/60-nixos.conf`. Let's start using these, like other distros already do for quite some time, and remove those duplicate `boot.kernel.sysctl` options we previously did set. In the case of rp_filter (which systemd would set to 2 (loose)), make our overrides to "1" more explicit.
* / / treewide: remove redundant quotesvolth2019-08-26
|/ /
* | nixos aws: use in-kernel ixgbevf driver (#58956)Peter Hoeg2019-08-15
| |
* | Merge pull request #61981 from ambrop72/no-opengl-ld-library-pathworldofpeace2019-07-11
|\ \ | | | | | | nixos: Don't set LD_LIBRARY_PATH for graphics drivers that don't need it.
| * | nixos: Don't set LD_LIBRARY_PATH for graphics drivers that don't need it.Ambroz Bizjak2019-05-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new internal option `hardware.opengl.setLdLibraryPath` is added which controls if `LD_LIBRARY_PATH` should be set to `/run/opengl-driver(-32)/lib`. It is false by default and is meant to be set to true by any driver which requires it. If this option is false, then `opengl.nix` and `xserver.nix` will not set `LD_LIBRARY_PATH`. Currently Mesa and NVidia drivers don't set `setLdLibraryPath` because they work with libglvnd and do not override libraries, while `amdgpu-pro`, `ati` and `parallels-guest` set it to true (the former two really need it, the last one doesn't build so is presumed to). Additionally, the `libPath` attribute within entries of `services.xserver.drivers` is removed. This made `xserver.nix` add the driver path directly to the `LD_LIBRARY_PATH` for the display manager (including X server). Not only is it redundant when the driver is added to `hardware.opengl.package` (assuming that `hardware.opengl.enable` is true), in fact all current drivers except `ati` set it incorrectly to the package path instead of package/lib. This removal of `LD_LIBRARY_PATH` could break certain packages using CUDA, but only those that themselves load `libcuda` or other NVidia driver libraries using `dlopen` (not if they just use `cudatoolkit`). A few have already been fixed but it is practically impossible to test all because most packages using CUDA are libraries/frameworks without a simple way to test. Fixes #11434 if only Mesa or NVidia graphics drivers are used.
* | | Merge master into staging-nextFrederik Rietdijk2019-07-09
|\ \ \
| * | | kvmgt service: use modprobe, force-load moduleNikolay Amiantov2019-07-08
| | | |
* | | | Merge staging-next into stagingFrederik Rietdijk2019-07-03
|\| | |
| * | | Merge pull request #53204 from peterhoeg/m/libvirtPeter Hoeg2019-06-27
| |\ \ \ | | | | | | | | | | libvirt: support proper networking in user session
| | * | | libvirtd (nixos): support bridging for user sessionsPeter Hoeg2019-06-21
| | | | |
* | | | | treewide: use dontUnpackworldofpeace2019-07-01
|/ / / /
* | | / TypoEelco Dolstra2019-06-25
| |_|/ |/| |
* | | nixos/kvmgt: fix starting condition (#62096)Jörg Thalheim2019-06-17
|\ \ \ | | | | | | | | nixos/kvmgt: fix starting condition
| * | | nixos/kvmgt: fix starting conditiongnidorah2019-05-26
| | | |
* | | | treewide: remove unused variables (#63177)volth2019-06-16
| | | | | | | | | | | | | | | | | | | | | | | | * treewide: remove unused variables * making ofborg happy