change podman config

This commit is contained in:
2023-12-01 10:56:35 +01:00
parent 7580f897c2
commit 3ebbe5d7d4
5 changed files with 48 additions and 31 deletions

View File

@@ -1,5 +1,4 @@
{ config, pkgs, ... }:
{
users.users.omada = {
isSystemUser = true;
@@ -10,20 +9,6 @@
users.groups.omada = { };
users.groups.docker.members = [ "omada" ];
virtualisation.podman.defaultNetwork.settings = {
cniVersion = "0.4.0";
name = "newnet";
plugins = [
{
type = "macvlan";
master = "server";
pam = {
type = "dhcp";
};
}
];
};
# TODO: check if we can run docker service as other user than root
virtualisation = {
oci-containers.containers = {