change podman config
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user