Add psql1 cluster

This commit is contained in:
Jonas Juselius
2020-12-02 12:33:35 +01:00
parent d1f52f4792
commit 38daf405e5
2 changed files with 93 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, ... }:
{
imports = [ ];
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "uhci_hcd" "ehci_pci" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/49b61f5c-9dd6-4989-8d24-87e143a580ae";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/DCF5-0AA3";
fsType = "vfat";
};
fileSystems."/data" =
{ device = "/dev/disk/by-label/psql";
fsType = "ext4";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/137fc4ef-452d-4216-9f18-42cf859f77ce"; }
];
nix.maxJobs = lib.mkDefault 4;
#virtualisation.hypervGuest.enable = true;
}