1
0
Fork 0
forked from emily/nixfiles
nixfiles-emily/config/hosts/emilia/configuration.nix

35 lines
865 B
Nix

{ ... }:{
imports = [
../../common
../../profiles/headless.nix
../../profiles/physical.nix
../../services/forgejo.nix
../../services/nginx.nix
../../services/uptime-kuma.nix
../../services/vaultwarden.nix
./disko.nix
./hardware-configuration.nix
];
boot.initrd.kernelModules = [ "i915" ];
boot.initrd.supportedFilesystems = [ "btrfs" ];
kyouma.machine-type.physical = true;
kyouma.nginx.defaultForbidden = "uptime.kyouma.net";
networking.hostName = "emilia";
systemd.network.networks."98-eth-default" = {
matchConfig.MACAddress = "04:d4:c4:39:73:f6";
addresses = [
{
Address = "95.217.83.107/32";
Peer = "95.217.83.65/32";
}
{ Address = "2a01:4f9:4a:1f5f::1/64"; }
];
routes = [
{ Gateway = "95.217.83.65"; }
{ Gateway = "fe80::1"; }
];
};
}