split docker and libvirt
This commit is contained in:
7
configs/docker.nix
Normal file
7
configs/docker.nix
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
virtualisation = {
|
||||||
|
docker.enable = true;
|
||||||
|
};
|
||||||
|
}
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
docker.enable = true;
|
|
||||||
libvirtd = {
|
libvirtd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
qemuPackage = pkgs.qemu_kvm;
|
qemuPackage = pkgs.qemu_kvm;
|
@ -8,7 +8,8 @@ in
|
|||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
/etc/nixos/hardware-configuration.nix
|
/etc/nixos/hardware-configuration.nix
|
||||||
../configs/gui.nix
|
../configs/gui.nix
|
||||||
../configs/virtualisation.nix
|
../configs/docker.nix
|
||||||
|
../configs/libvirt.nix
|
||||||
../configs/common.nix
|
../configs/common.nix
|
||||||
../configs/user-gui.nix
|
../configs/user-gui.nix
|
||||||
../configs/user.nix
|
../configs/user.nix
|
||||||
|
@ -5,7 +5,8 @@
|
|||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
/etc/nixos/hardware-configuration.nix
|
/etc/nixos/hardware-configuration.nix
|
||||||
../configs/common.nix
|
../configs/common.nix
|
||||||
../configs/virtualisation.nix
|
../configs/docker.nix
|
||||||
|
../configs/libvirt.nix
|
||||||
../configs/user.nix
|
../configs/user.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
/etc/nixos/hardware-configuration.nix
|
/etc/nixos/hardware-configuration.nix
|
||||||
../configs/virtualisation.nix
|
../configs/docker.nix
|
||||||
../configs/common.nix
|
../configs/common.nix
|
||||||
../configs/user.nix
|
../configs/user.nix
|
||||||
];
|
];
|
||||||
|
@ -18,7 +18,8 @@ in
|
|||||||
<nixos-hardware/lenovo/thinkpad/x1-extreme>
|
<nixos-hardware/lenovo/thinkpad/x1-extreme>
|
||||||
/etc/nixos/hardware-configuration.nix
|
/etc/nixos/hardware-configuration.nix
|
||||||
../configs/gui.nix
|
../configs/gui.nix
|
||||||
../configs/virtualisation.nix
|
../configs/docker.nix
|
||||||
|
../configs/libvirt.nix
|
||||||
../configs/common.nix
|
../configs/common.nix
|
||||||
../configs/user.nix
|
../configs/user.nix
|
||||||
../configs/user-gui.nix
|
../configs/user-gui.nix
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
/etc/nixos/hardware-configuration.nix
|
/etc/nixos/hardware-configuration.nix
|
||||||
../configs/common.nix
|
../configs/common.nix
|
||||||
../configs/virtualisation.nix
|
../configs/docker.nix
|
||||||
../configs/user.nix
|
../configs/user.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user