summaryrefslogtreecommitdiffstats
path: root/jeschli/2configs/os-templates/CentOS-7-64bit.nix
blob: fb34e94e2059746f26dcb5a16617578beec8d58c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
_:

{
  imports = [ <nixpkgs/nixos/modules/profiles/qemu-guest.nix> ];

  boot.loader.grub = {
    device = "/dev/sda";
    splashImage = null;
  };
  boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sd_mod" "sr_mod" ];

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