about summary refs log tree commit diff
path: root/nixos/modules/virtualisation
Commit message (Collapse)AuthorAge
* 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
* | | | Merge pull request #62712 from danbst/module-conflict-namingDanylo Hlynskyi2019-06-13
|\ \ \ \ | | | | | | | | | | NixOS module system: improve one of error messages
| * | | | nixos/containers: give a name to an anonymous container moduledanbst2019-06-05
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/NixOS/nixpkgs/issues/15747. Previously this module was called `<unknown-file>` in error messages, now it is called a bit more close to real: ``` module at /home/danbst/dev/nixpkgs/nixos/modules/virtualisation/containers.nix:470 ```
* | | | nixos containers: restart containers with autoStart = true when their conf ↵Graham Christensen2019-06-06
| | | | | | | | | | | | | | | | changes
* | | | nixos containers: don't shadow config, rename to containerConfigGraham Christensen2019-06-06
| | | |
* | | | nixos/modules/virtualisation/google-compute-config.nix: pin filesystem type ↵Ding Xiang Fei2019-05-27
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | to ext4 for now Fix #61859. Assertion fails when a Google Compute Engine image is built, because now choices of filesystem types are restricted to `f2fs` and `ext` family if auto-resizing is enabled. This change will pin the filesystem used on such an image to be `ext4` for now.
* | | docker: fix typomkenigs2019-05-22
| | |
* | | Merge pull request #60406 from JohnAZoidberg/remove-isnullRobin Gloster2019-05-18
|\ \ \ | | | | | | | | treewide: Remove usage of isNull
| * | | treewide: Remove usage of isNullDaniel Schaefer2019-04-29
| |/ / | | | | | | | | | isNull "is deprecated; just write e == null instead" says the Nix manual