-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbill.nix
50 lines (38 loc) · 1010 Bytes
/
bill.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
imports = [
../modules/ipmi-supermicro.nix
../modules/bonding.nix
../modules/hardware/supermicro-X12SCZ-TLN4F.nix
../modules/disko-zfs.nix
../modules/nfs/client.nix
../modules/dpdk.nix
../modules/xilinx.nix
../modules/xrdp.nix
];
networking.hostName = "bill";
networking.doctowho.bonding.macs = [
"b8:ce:f6:0b:ee:64"
"b8:ce:f6:0b:ee:65"
];
simd.arch = "skylake";
# unused 1Gbit/s port, messes up k3s networking
systemd.network.networks."05-unmanaged".extraConfig = ''
[Match]
MACAddress = b0:3a:f2:b6:05:9f 3c:ec:ef:2c:f5:54 3c:ec:ef:2c:f5:55
[Link]
ActivationPolicy = down
'';
system.stateVersion = "20.09";
disko.rootDisk = "/dev/disk/by-id/nvme-SAMSUNG_MZQL21T9HCJR-00A07_S64GNA0T724988";
boot.hugepages1GB.number = 8;
# manually added to load xilinx from
fileSystems."/share" = {
device = "nfs:/export/share";
fsType = "nfs4";
options = [
"nofail"
"ro"
"timeo=14"
];
};
}