forked from emily/nixfiles
37 lines
944 B
Nix
37 lines
944 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.Type = "ether";
|
||
|
matchConfig.Name = "enp0s31f6";
|
||
|
networkConfig = {
|
||
|
IPv6AcceptRA = false;
|
||
|
};
|
||
|
addresses = [
|
||
|
{ addressConfig.Address = "95.217.83.107/26"; }
|
||
|
{ addressConfig.Address = "2a01:4f9:4a:1f5f::1/64"; }
|
||
|
];
|
||
|
routes = [
|
||
|
{ routeConfig.Gateway = "95.217.83.65"; }
|
||
|
{ routeConfig.Gateway = "fe80::1"; }
|
||
|
];
|
||
|
};
|
||
|
|
||
|
}
|