Skip to content

Commit

Permalink
feat(virtualisation): switch from docker to podman
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenhoenle committed Jul 30, 2024
1 parent f95c26d commit 73a0c92
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
8 changes: 0 additions & 8 deletions modules/docker.nix

This file was deleted.

2 changes: 1 addition & 1 deletion modules/modules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
./backup.nix
./bluetooth.nix
./boot.nix
./docker.nix
./fingerprint.nix
./firmware.nix
./fonts.nix
./gtk.nix
./locales.nix
./network.nix
./nix.nix
./podman.nix
./printing.nix
./secrets.nix
./sound.nix
Expand Down
12 changes: 12 additions & 0 deletions modules/podman.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
virtualisation.podman = {
enable = true;

# Create a `docker` alias for podman, to use it as a drop-in replacement
dockerCompat = true;
dockerSocket.enable = true;

# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
}
1 change: 0 additions & 1 deletion modules/users.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
extraGroups = [
"networkmanager"
"wheel"
"docker"
"video"
"dialout" # for arduino
];
Expand Down

0 comments on commit 73a0c92

Please sign in to comment.