mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-31 17:20:53 +02:00
32 lines
513 B
Nix
32 lines
513 B
Nix
{ ... }:
|
|
{
|
|
imports = [
|
|
./hardware.nix
|
|
./home-julien.nix
|
|
./stalwart.nix
|
|
];
|
|
|
|
deployment.tags = [ "server" ];
|
|
|
|
disko = import ./disko.nix;
|
|
|
|
services.fail2ban.enable = true;
|
|
|
|
networking.useNetworkd = true;
|
|
systemd.network = {
|
|
enable = true;
|
|
|
|
networks = {
|
|
"10-wan" = {
|
|
matchConfig.Name = "enp0s20";
|
|
networkConfig = {
|
|
DHCP = "ipv4";
|
|
};
|
|
|
|
linkConfig.RequiredForOnline = "routable";
|
|
};
|
|
};
|
|
};
|
|
|
|
system.stateVersion = "24.11";
|
|
}
|