27 lines
706 B
Nix
Raw Normal View History

2024-06-29 10:48:20 +03:00
{ config, pkgs, lib, inputs, ... }: {
imports = with inputs.self; [
customProfiles.virtualisation
];
deviceSpecific.enableVirtualisation = true;
2023-01-13 04:03:15 +03:00
2024-06-29 10:48:20 +03:00
boot.kernelModules = [ "x_tables" ];
2023-05-24 21:29:27 +03:00
2023-01-26 00:24:32 +03:00
virtualisation = {
docker.enable = lib.mkForce false;
2024-06-29 10:48:20 +03:00
podman.defaultNetwork.settings.dns_enabled = lib.mkForce false;
podman.extraPackages = [ pkgs.zfs ];
spiceUSBRedirection.enable = lib.mkForce false;
containers.storage.settings.storage.graphroot = lib.mkForce "/var/lib/podman/storage";
2023-01-13 04:03:15 +03:00
};
2023-01-26 00:24:32 +03:00
users.users.${config.mainuser} = {
subUidRanges = [{
count = 1000;
startUid = 10000;
}];
subGidRanges = [{
count = 1000;
startGid = 10000;
}];
};
}