many changes and more modularizing
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
cids = import ../modules/staticids.nix;
|
||||
json = pkgs.formats.json { };
|
||||
@@ -20,7 +20,7 @@ in {
|
||||
users.groups.podman.gid = cids.gids.podman;
|
||||
virtualisation = {
|
||||
# containers.containersConf.settings = {
|
||||
# containers.dns_servers = [ "10.42.97.1" ];
|
||||
# containers.dns_servers = [ "${config.networkPrefix}.97.1" ];
|
||||
# };
|
||||
podman = {
|
||||
enable = true;
|
||||
@@ -42,8 +42,8 @@ in {
|
||||
dns_enabled = false;
|
||||
subnets = [
|
||||
{
|
||||
subnet = "10.42.97.0/24";
|
||||
gateway = "10.42.97.1";
|
||||
subnet = "${config.networkPrefix}.97.0/24";
|
||||
gateway = "${config.networkPrefix}.97.1";
|
||||
}
|
||||
];
|
||||
ipam_options = {
|
||||
|
||||
Reference in New Issue
Block a user