refactor: optimize flake.nix and modularize networking config
Some checks failed
Check / check (push) Failing after 1s

Cleaner deploy.nodes generation and improved devShell experience.
This commit is contained in:
Tibo De Peuter 2026-03-17 18:21:22 +01:00
parent 5a031b48ed
commit ab23bc746f
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
29 changed files with 575 additions and 97 deletions

View file

@ -3,11 +3,13 @@
{
config = {
homelab = {
networking.hostIp = "192.168.0.92";
apps = {
freshrss.enable = true;
traefik.enable = true;
};
virtualisation.guest.enable = true;
users.deploy.enable = true;
};
networking = {
@ -32,7 +34,7 @@
interfaces.ens18 = {
ipv4.addresses = [
{
address = "192.168.0.92";
address = config.homelab.networking.hostIp;
prefixLength = 24;
}
];