podman & incus on laptop
This commit is contained in:
parent
eae6726ecb
commit
0db64447e4
|
@ -13,7 +13,8 @@
|
|||
./fonts.nix
|
||||
./k8s.nix
|
||||
./tail.nix
|
||||
./pmb.nix
|
||||
./podman.nix
|
||||
./incus.nix
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
|
|
|
@ -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 ];
|
||||
}
|
||||
|
|
13
laptop/podman.nix
Normal file
13
laptop/podman.nix
Normal file
|
@ -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
|
||||
];
|
||||
|
||||
}
|
Loading…
Reference in a new issue