diff --git a/2configs/headless.nix b/2configs/headless.nix deleted file mode 100644 index 772ca37..0000000 --- a/2configs/headless.nix +++ /dev/null @@ -1,4 +0,0 @@ -{lib,... }: -{ - sound.enable = lib.mkForce false; -} diff --git a/2configs/virtualisation/podman.nix b/2configs/virtualisation/podman.nix new file mode 100644 index 0000000..7c3857f --- /dev/null +++ b/2configs/virtualisation/podman.nix @@ -0,0 +1,24 @@ +{ pkgs, config, ... }: +{ + virtualisation.oci-containers.backend = "podman"; + virtualisation.podman = { + enable = true; + dockerCompat = true; + defaultNetwork.settings.dns_enabled = true; + # storageDriver = "devicemapper"; + }; + + #networking.nat = { + # enable = true; + # internalInterfaces = [ "ve-+" ]; + # externalInterface = "enp2s0"; + #}; + + environment.systemPackages = with pkgs;[ + podman + podman-tui + podman-compose + ]; + + users.users.${config.krebs.build.user.name}.extraGroups = [ "podman" ]; +}