Skip to content

Commit

Permalink
add: fra1
Browse files Browse the repository at this point in the history
  • Loading branch information
jz8132543 committed Sep 7, 2024
1 parent a29dee3 commit 1a2d689
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions nixos/hosts/fra1/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,32 @@
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
boot.kernelModules = ["kvm-amd"];
utils.disk = "/dev/sda";
networking = {
# useDHCP = false;
# useNetworkd = true;
interfaces.eth0 = {
useDHCP = false;
ipv4.addresses = [
{
address = "176.116.18.242";
prefixLength = 24;
}
];
ipv6.addresses = [
{
address = "2a04:e8c0:18:619::";
prefixLength = 64;
}
];
};
defaultGateway = {
address = "176.116.18.1";
interface = "eth0";
};
defaultGateway6 = {
address = "fe80::1";
interface = "eth0";
};
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}

0 comments on commit 1a2d689

Please sign in to comment.