diff --git a/nix/systems/default.nix b/nix/systems/default.nix index fc103b9..ede4f10 100644 --- a/nix/systems/default.nix +++ b/nix/systems/default.nix @@ -12,7 +12,7 @@ ./security.nix ./simon.nix ./sound.nix - ./virt-manager.nix + ./virtualisation.nix ]; # system state version diff --git a/nix/systems/packages.nix b/nix/systems/packages.nix index be37992..e2f6f87 100644 --- a/nix/systems/packages.nix +++ b/nix/systems/packages.nix @@ -51,8 +51,11 @@ bat unstable.clipse cmatrix + distrobox git screen + podman + podman-compose vim wget diff --git a/nix/systems/virt-manager.nix b/nix/systems/virt-manager.nix deleted file mode 100644 index 0e53922..0000000 --- a/nix/systems/virt-manager.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ config, pkgs, ... }: { - - # setup virt-manager - virtualisation.libvirtd.enable = true; - programs.virt-manager.enable = true; - -} diff --git a/nix/systems/virtualisation.nix b/nix/systems/virtualisation.nix new file mode 100644 index 0000000..20cc2c6 --- /dev/null +++ b/nix/systems/virtualisation.nix @@ -0,0 +1,21 @@ +{ config, pkgs, ... }: { + + # setup virt-manager + programs.virt-manager.enable = true; + + # virtualistation + virtualisation = { + + # libvirtd + libvirtd = { + enable = true; + }; + + # podman + podman = { + enable = true; + dockerCompat = true; + defaultNetwork.settings.dns_enabled = true; + }; + }; +}