nixcfg/systems/x86_64-linux/x1/default.nix
Harald Hoyer c0991dbdd1 feat: add virtualization config to x86_64-linux system
This commit introduces virtualization configurations for docker and libvirtd in the x86_64-linux system. It also sets the podman.dockerCompat to false to avoid compatibility issues.
2024-04-11 10:48:50 +02:00

30 lines
517 B
Nix

{ pkgs, lib, ... }:
with lib;
with lib.metacfg;
{
imports = [ ./hardware-configuration.nix ];
metacfg = {
base.enable = true;
gui.enable = true;
nix-ld.enable = true;
nix.enable = true;
podman.enable = true;
secureboot.enable = true;
};
virtualisation = {
docker.enable = true;
libvirtd.enable = true;
podman.dockerCompat = false;
};
system.autoUpgrade = {
enable = true;
operation = "boot";
allowReboot = false;
};
system.stateVersion = "23.11";
}