Refactor Networking #33

Closed
opened 2024-03-31 16:45:42 +00:00 by Gonne · 2 comments
Owner
  • A lot of our networking config is repetitive (e.g. gateways, dns servers).
  • We would like to populate hostnames to all /etc/hosts files (e.g. in nixos/modules/mailman.nix and other backup jobs to come).
- [x] A lot of our networking config is repetitive (e.g. gateways, dns servers). - [x] We would like to populate hostnames to all /etc/hosts files (e.g. in `nixos/modules/mailman.nix` and other backup jobs to come).
Owner

I refactored the existing config [#34], but it doesn't do automatic hostname aggregation, I'm also not sure about the optimal way to do that.

Edit: Don't get me wrong, I know multiple ways to do the aggregation. But they all feel dirty in one way or the other

I refactored the existing config [#34], but it doesn't do automatic hostname aggregation, I'm also not sure about the optimal way to do that. Edit: Don't get me wrong, I know multiple ways to do the aggregation. But they all feel dirty in one way or the other
Author
Owner

Should the vmModule.nix be somehow part of the vm.nix role?

Should the [vmModule.nix](https://gitea.mathebau.de/Fachschaft/nixConfig/src/branch/main/nixos/modules/vmNetwork.nix) be somehow part of the [vm.nix](https://gitea.mathebau.de/Fachschaft/nixConfig/src/branch/main/nixos/roles/vm.nix) role?
Gonne added this to the (deleted) project 2024-04-04 15:30:24 +00:00
Gonne removed this from the (deleted) project 2024-04-04 15:30:45 +00:00
nerf closed this issue 2025-04-01 17:15:17 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Fachschaft/nixConfig#33
No description provided.