mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-15 05:39:11 +02:00
feat[server]: add home proxy
This commit is contained in:
parent
ca9f5830bf
commit
db273edc48
84 changed files with 2961 additions and 1601 deletions
|
|
@ -3,10 +3,10 @@
|
|||
networking = {
|
||||
useDHCP = lib.mkForce false;
|
||||
useNetworkd = true;
|
||||
dhcpcd.enable = false;
|
||||
renameInterfacesByMac = lib.mapAttrs (_: v: if (v ? mac) then v.mac else "") (
|
||||
dhcpcd.enable = lib.mkIf (!config.swarselsystems.isMicroVM) false;
|
||||
renameInterfacesByMac = lib.mkIf (!config.swarselsystems.isMicroVM) (lib.mapAttrs (_: v: if (v ? mac) then v.mac else "") (
|
||||
config.repo.secrets.local.networking.networks or { }
|
||||
);
|
||||
));
|
||||
};
|
||||
|
||||
systemd.network.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue