rearrange podman
This commit is contained in:
parent
85be4c8f0e
commit
cc3e57f976
2 changed files with 15 additions and 13 deletions
|
@ -1,7 +1,21 @@
|
|||
{ lib, pkgs, ... }: {
|
||||
|
||||
# Runtime
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
autoPrune.enable = true;
|
||||
dockerCompat = true;
|
||||
defaultNetwork.settings = {
|
||||
# Required for container networking to be able to use names.
|
||||
dns_enabled = true;
|
||||
};
|
||||
};
|
||||
virtualisation.oci-containers.backend = "podman";
|
||||
|
||||
# Containers
|
||||
imports = [
|
||||
./podman/piaware.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [ ctop ];
|
||||
environment.systemPackages = [ pkgs.ctop ];
|
||||
}
|
|
@ -2,18 +2,6 @@
|
|||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# Runtime
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
autoPrune.enable = true;
|
||||
dockerCompat = true;
|
||||
defaultNetwork.settings = {
|
||||
# Required for container networking to be able to use names.
|
||||
dns_enabled = true;
|
||||
};
|
||||
};
|
||||
virtualisation.oci-containers.backend = "podman";
|
||||
|
||||
# Containers
|
||||
virtualisation.oci-containers.containers."piaware" = {
|
||||
image = "ghcr.io/sdr-enthusiasts/docker-piaware:latest";
|
||||
|
|
Loading…
Reference in a new issue