containers/citrine: enable ipv4
bc ipv6 is broken and i cba 😭
This commit is contained in:
parent
1936294ea4
commit
7226266c30
1 changed files with 7 additions and 0 deletions
|
|
@ -7,10 +7,15 @@
|
|||
let
|
||||
name = "citrine";
|
||||
subnetId = "3";
|
||||
|
||||
subnet = x: "fd0d:1::${subnetId}:${toString x}";
|
||||
host = subnet 1;
|
||||
client = subnet 2;
|
||||
|
||||
subnet4 = x: "10.30.${subnetId}.${toString x}";
|
||||
host4 = subnet4 1;
|
||||
client4 = subnet4 2;
|
||||
|
||||
modules = [
|
||||
./configuration.nix
|
||||
catppuccin.nixosModules.catppuccin
|
||||
|
|
@ -40,6 +45,8 @@
|
|||
containers.${name} = {
|
||||
autoStart = true;
|
||||
privateNetwork = true;
|
||||
hostAddress = host4;
|
||||
localAddress = client4;
|
||||
hostAddress6 = host;
|
||||
localAddress6 = client;
|
||||
# privateUsers = "pick";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue