feat: set up the raid10 device on /work
This commit is contained in:
@@ -29,6 +29,7 @@ in {
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
rdma-core
|
rdma-core
|
||||||
hwloc
|
hwloc
|
||||||
|
xfsprogs
|
||||||
];
|
];
|
||||||
|
|
||||||
cluster = {
|
cluster = {
|
||||||
|
|||||||
@@ -24,6 +24,11 @@
|
|||||||
options = [ "fmask=0077" "dmask=0077" ];
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/work" =
|
||||||
|
{ device = "/dev/disk/by-uuid/baa9d9cc-5ece-45e1-a238-4376700b3ef5";
|
||||||
|
fsType = "xfs";
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
@@ -36,7 +41,9 @@
|
|||||||
# networking.interfaces.enp129s0f2.useDHCP = lib.mkDefault true;
|
# networking.interfaces.enp129s0f2.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.enp129s0f3.useDHCP = lib.mkDefault true;
|
# networking.interfaces.enp129s0f3.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.enp1s0np0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.enp1s0np0.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.enp66s0np0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.flannel.1.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.mynet.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.veth5b3ba63f.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|||||||
Reference in New Issue
Block a user