mail2-nixos-config/hardware-configuration.nix

38 lines
1.1 KiB
Nix
Raw Normal View History

2019-05-03 21:51:43 +02:00
# 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 =
[ <nixpkgs/nixos/modules/profiles/qemu-guest.nix>
];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "ehci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/487aeb11-4318-4623-86d6-7723eccda825";
fsType = "ext4";
};
fileSystems."/var/vmail" =
2019-05-03 21:51:43 +02:00
{ device = "/dev/disk/by-uuid/12611461-1b7a-4cbd-8fa7-dfbfdd46e1c0";
fsType = "ext4";
};
2019-11-08 22:24:15 +01:00
fileSystems."/srv/gitolite" =
{ device = "/dev/disk/by-uuid/5c846acb-aa67-466d-a0a3-31d1f778bf4d";
fsType = "ext4";
};
2019-06-13 14:05:55 +02:00
# encrypt the swap device. why not.
# needs the UUID of the partition, as the swap id will be lost on every boot.
2019-05-03 21:51:43 +02:00
swapDevices =
2019-06-13 14:05:55 +02:00
[ { device = "/dev/disk/by-partuuid/f1251a25-02"; randomEncryption.enable = true; }
2019-05-03 21:51:43 +02:00
];
nix.maxJobs = lib.mkDefault 1;
}