diff --git a/laptop/configuration.nix b/laptop/configuration.nix index d8f929b..f5e8954 100644 --- a/laptop/configuration.nix +++ b/laptop/configuration.nix @@ -13,7 +13,8 @@ ./fonts.nix ./k8s.nix ./tail.nix - ./pmb.nix + ./podman.nix + ./incus.nix ]; # Bootloader. diff --git a/laptop/incus.nix b/laptop/incus.nix index 5eaaa6d..a95e662 100644 --- a/laptop/incus.nix +++ b/laptop/incus.nix @@ -1,9 +1,13 @@ { config, pkgs, ... }: { - virtualisation.incus.enable = true; + virtualisation.incus = { + enable = true; + ui.enable = true; + }; environment.systemPackages = with pkgs; [ incus lxc ]; + networking.firewall.allowedTCPPorts = [ 8443 ]; } diff --git a/laptop/podman.nix b/laptop/podman.nix new file mode 100644 index 0000000..44f2f43 --- /dev/null +++ b/laptop/podman.nix @@ -0,0 +1,13 @@ +{ config, pkgs, ... }: +{ + virtualisation.podman.enable = true; + virtualisation.podman.dockerCompat = true; + virtualisation.podman.dockerSocket.enable = true; + + #virtualisation.defaultNetwork.settings.dns_enabled = true; + environment.systemPackages = with pkgs; [ + podman-tui + podman-compose + ]; + + }