nixos: Add initial palace
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 16m35s
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 16m35s
This commit is contained in:
@@ -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 {
|
||||
|
@@ -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 =
|
||||
|
Reference in New Issue
Block a user