fix servernet

This commit is contained in:
2023-12-01 11:39:21 +01:00
parent b4ebe4d3f8
commit 140b1d793a

View File

@@ -1,4 +1,7 @@
{ pkgs, ... }: {
{ pkgs, ... }:
let
json = pkgs.formats.json { };
in {
virtualisation = {
podman = {
enable = true;
@@ -7,8 +10,8 @@
};
};
environment.etc."containers/networks/podman.json" = {
source = pkgs.formats.json.generate "podman.json" ({
environment.etc."cni/net.d/servernet.conflist" = {
source = json.generate "servernet.conflist" ({
cniVersion = "0.4.0";
name = "servernet";
plugins = [