fix servernet
This commit is contained in:
parent
b4ebe4d3f8
commit
140b1d793a
1 changed files with 6 additions and 3 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue