Switch levitation to podman
This commit is contained in:
parent
4e745ee4f1
commit
d7c2e79df0
|
@ -53,6 +53,10 @@ in {
|
|||
setupGrub = true;
|
||||
nix.autoUpdate = false;
|
||||
harden = false;
|
||||
virtualization = {
|
||||
docker = false;
|
||||
podman = true;
|
||||
};
|
||||
windows = {
|
||||
enable = true;
|
||||
mount = {
|
||||
|
|
|
@ -194,6 +194,7 @@ in {
|
|||
virtualization = {
|
||||
qemu = mkDefaultOption "qemu" config.nathan.config.isDesktop;
|
||||
docker = mkDefaultOption "docker" config.nathan.config.isDesktop;
|
||||
podman = mkEnableOption "podman";
|
||||
lxc = mkEnableOption "lxc";
|
||||
nixos =
|
||||
mkDefaultOption "nixos containers" config.nathan.config.isDesktop;
|
||||
|
|
|
@ -36,6 +36,10 @@ in with lib; {
|
|||
};
|
||||
};
|
||||
})
|
||||
(mkIf nc.virtualization.podman {
|
||||
virtualisation.podman.enable = true;
|
||||
environment.systemPackages = with pkgs; [ x11docker ];
|
||||
})
|
||||
# (mkIf nc.virtualization.crosvm {
|
||||
# environment.systemPackages =
|
||||
# with inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}; [
|
||||
|
|
Loading…
Reference in New Issue