mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-07-01 15:27:18 +02:00
chore: init lisanew
This commit is contained in:
parent
a8e024ee40
commit
995e898b72
5 changed files with 107 additions and 0 deletions
31
machines/lisanew/default.nix
Normal file
31
machines/lisanew/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./home-julien.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.05";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue