forked from TUM-DSE/doctor-cluster-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnardole.nix
More file actions
37 lines (30 loc) · 881 Bytes
/
nardole.nix
File metadata and controls
37 lines (30 loc) · 881 Bytes
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
{
imports = [
../modules/bonding.nix
../modules/ipmi-supermicro.nix
../modules/hardware/supermicro-X12SCZ-TLN4F.nix
# TODO: nardole needs to be re-installed with disko, if this machine is revived.
../modules/disko-zfs.nix
];
networking.hostName = "nardole";
# 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:14 3c:ec:ef:2c:f5:15
[Link]
ActivationPolicy = down
'';
programs.ssh.knownHosts = {
bill.hostNames = [
"nfs"
"nfs-backup"
];
bill.publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGurhMZktK5kPgxj8GVPEhjH5aa/ZXrG/FjXnWOIjNrS";
};
networking.doctowho.bonding.macs = [
"b8:ce:f6:0b:ee:74"
"b8:ce:f6:0b:ee:75"
];
simd.arch = "skylake";
system.stateVersion = "20.09";
}