mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
31 lines
964 B
Nix
31 lines
964 B
Nix
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||
# and may be overwritten by future invocations. Please make changes
|
||
# to /etc/nixos/configuration.nix instead.
|
||
{ config, lib, pkgs, modulesPath, ... }:
|
||
|
||
{
|
||
imports = [
|
||
(modulesPath + "/installer/scan/not-detected.nix")
|
||
(modulesPath + "/profiles/qemu-guest.nix")
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "virtio_scsi" "usbhid" "sr_mod" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
systemd.network.networks."10-wan" = {
|
||
networkConfig.DHCP = "no";
|
||
address = [
|
||
"167.235.18.32/32"
|
||
"2a01:4f8:c2c:2e49::1/64"
|
||
];
|
||
routes = [
|
||
{ routeConfig = { Destination = "172.31.1.1"; }; }
|
||
{ routeConfig = { Gateway = "172.31.1.1"; GatewayOnLink = true; }; }
|
||
{ routeConfig.Gateway = "fe80::1"; }
|
||
];
|
||
};
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||
}
|