Switch levitation to podman

This commit is contained in:
Nathan McCarty 2023-06-23 05:51:13 -04:00
parent 4e745ee4f1
commit d7c2e79df0
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
3 changed files with 9 additions and 0 deletions

View File

@ -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 = {

View File

@ -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;

View File

@ -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}; [