summaryrefslogtreecommitdiffstats
path: root/old/modules/tv/base-cac-CentOS-7-64bit.nix
blob: 42ab481b3d8d1225db2ca950f8f4739eaea9ceeb (plain)
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
{ config, pkgs, ... }:

{
  boot.loader.grub.device = "/dev/sda";
  boot.loader.grub.enable = true;
  boot.loader.grub.version = 2;

  boot.initrd.availableKernelModules = [
    "ata_piix"
    "vmw_pvscsi"
  ];

  fileSystems."/" = {
    device = "/dev/centos/root";
    fsType = "xfs";
  };

  fileSystems."/boot" = {
    device = "/dev/sda1";
    fsType = "xfs";
  };

  swapDevices = [
    { device = "/dev/centos/swap"; }
  ];
}