[dev] Sets up podman as a system package instead of homemanager.
This commit is contained in:
14
system/features/podman-dev.nix
Normal file
14
system/features/podman-dev.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -10,6 +10,7 @@
|
||||
{
|
||||
imports = [
|
||||
./qmk.nix
|
||||
../../features/podman-dev.nix
|
||||
];
|
||||
|
||||
networking.hostName = "altair"; # Define your hostname.
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
../../features/podman-dev.nix
|
||||
];
|
||||
|
||||
networking.hostName = "vega"; # Define your hostname.
|
||||
|
||||
# Configure network proxy if necessary
|
||||
|
||||
Reference in New Issue
Block a user