[dev] Sets up podman as a system package instead of homemanager.

This commit is contained in:
2025-04-29 17:11:08 -07:00
parent db8d2a3a23
commit 0a7e176c1e
4 changed files with 20 additions and 4 deletions

View File

@@ -1,9 +1,6 @@
{ pkgs, ... }:
{
# Use podman over docker
services.podman = {
enable = true;
};
# Podman is enabled at the system level.
home.packages = with pkgs; [
podman-compose

View File

@@ -0,0 +1,14 @@
{ ... }:
{
virtualisation = {
podman = {
enable = true;
# Create a `docker` alias for podman, to use it as a drop-in replacement
dockerCompat = true;
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
};
}

View File

@@ -10,6 +10,7 @@
{
imports = [
./qmk.nix
../../features/podman-dev.nix
];
networking.hostName = "altair"; # Define your hostname.

View File

@@ -1,5 +1,9 @@
{ pkgs, ... }:
{
imports = [
../../features/podman-dev.nix
];
networking.hostName = "vega"; # Define your hostname.
# Configure network proxy if necessary