split docker and libvirt

This commit is contained in:
Alexander Szczepanski
2021-08-01 19:21:25 +02:00
parent 6a93bf7fb6
commit 1f80ac7955
7 changed files with 15 additions and 6 deletions

7
configs/docker.nix Normal file
View File

@ -0,0 +1,7 @@
{ config, pkgs, lib, ... }:
{
virtualisation = {
docker.enable = true;
};
}

View File

@ -2,7 +2,6 @@
{
virtualisation = {
docker.enable = true;
libvirtd = {
enable = true;
qemuPackage = pkgs.qemu_kvm;

View File

@ -8,7 +8,8 @@ in
[ # Include the results of the hardware scan.
/etc/nixos/hardware-configuration.nix
../configs/gui.nix
../configs/virtualisation.nix
../configs/docker.nix
../configs/libvirt.nix
../configs/common.nix
../configs/user-gui.nix
../configs/user.nix

View File

@ -5,7 +5,8 @@
[ # Include the results of the hardware scan.
/etc/nixos/hardware-configuration.nix
../configs/common.nix
../configs/virtualisation.nix
../configs/docker.nix
../configs/libvirt.nix
../configs/user.nix
];

View File

@ -4,7 +4,7 @@
imports =
[ # Include the results of the hardware scan.
/etc/nixos/hardware-configuration.nix
../configs/virtualisation.nix
../configs/docker.nix
../configs/common.nix
../configs/user.nix
];

View File

@ -18,7 +18,8 @@ in
<nixos-hardware/lenovo/thinkpad/x1-extreme>
/etc/nixos/hardware-configuration.nix
../configs/gui.nix
../configs/virtualisation.nix
../configs/docker.nix
../configs/libvirt.nix
../configs/common.nix
../configs/user.nix
../configs/user-gui.nix

View File

@ -5,7 +5,7 @@
[ # Include the results of the hardware scan.
/etc/nixos/hardware-configuration.nix
../configs/common.nix
../configs/virtualisation.nix
../configs/docker.nix
../configs/user.nix
];