]> Git — Sourcephile - julm/julm-nix.git/blob - hosts/nan2gua1/podman.nix
+user/operability(nan2gua1)(podman): enable
[julm/julm-nix.git] / hosts / nan2gua1 / podman.nix
1 { pkgs, ... }:
2 {
3 # Enable common container config files in /etc/containers
4 virtualisation.containers.enable = true;
5 virtualisation = {
6 podman = {
7 enable = true;
8
9 # Create a `docker` alias for podman, to use it as a drop-in replacement
10 dockerCompat = true;
11
12 # Required for containers under podman-compose to be able to talk to each other.
13 defaultNetwork.settings.dns_enabled = true;
14 };
15 };
16
17 users.users.julm.extraGroups = [ "podman" ];
18
19 # Useful other development tools
20 environment.systemPackages = with pkgs; [
21 dive # look into docker image layers
22 podman-tui # status of containers in the terminal
23 docker-compose # start group of containers for dev
24 #podman-compose # start group of containers for dev
25 ];
26 }