Mount backup disk
Eelco Dolstra committed
Sep 25, 2014 at 15:12 UTC
638a3917f909cf8027bda9adff55262636fcfa5a
1 file changed
+11
delft/lucifer.nix
+11
@@ -15,6 +15,11 @@
15
networking.hostName = "lucifer";
16
networking.firewall.allowedTCPPorts = [ 2049 3000 4000 ];
17
18
+ networking.interfaces.enx842b2b0b98f1 =
19
+ { ipAddress = "172.16.25.81";
20
+ prefixLength = 21;
21
+ };
22
+
23
boot.loader.grub.device = "/dev/sda";
24
boot.loader.grub.copyKernels = true;
25
boot.initrd.kernelModules = [ "uhci_hcd" "ehci_hcd" "ata_piix" "megaraid_sas" "usbhid" ];
@@ -63,6 +68,12 @@
68
69
fileSystems."/data".device = "/dev/disk/by-label/data";
70
71
+
72
+ fileSystems."/backup-tud" =
73
+ { device = "172.16.26.5://vol/vol_backup_linux_fbs_ewi_buildfarm_lucifer/qt_backup_linux_fbs_ewi_buildfarm_lucifer";
74
+ fsType = "nfs4";
75
+ };
76
+
77
services.nfs.server.enable = true;
78
services.nfs.server.exports =
79
''