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