nixos: Add initial palace
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 16m35s

This commit is contained in:
2023-12-03 22:58:28 +00:00
parent a1778e0f1e
commit c4e6896a0c
58 changed files with 1066 additions and 837 deletions

View File

@@ -125,7 +125,7 @@ rec {
];
routersPubV4 = [
"109.255.252.123" # placeholder
"109.255.252.104"
"109.255.252.166"
];
prefixes = with lib.my.net.cidr; rec {

View File

@@ -123,6 +123,15 @@ rec {
home-manager = mkOpt' (enum [ "unstable" "stable" "mine" "mine-stable" ]) "unstable" "Branch of home-manager to use.";
};
mkVLAN = name: vid: {
"25-${name}" = {
netdevConfig = {
Name = name;
Kind = "vlan";
};
vlanConfig.Id = vid;
};
};
networkdAssignment = iface: a: {
matchConfig.Name = iface;
address =