diff options
author | tv <tv@shackspace.de> | 2015-03-19 23:04:35 +0100 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-05-19 23:12:10 +0200 |
commit | 4442053d0e41838af0670f38e86e1bd7aa426e3a (patch) | |
tree | b031855f40a1ea066559d8ee95cb242a76133673 /modules/base-cac-CentOS-7-64bit.nix | |
parent | 8f0c5e351367e93d753f3160dbfe29071c566dc5 (diff) |
cd: initial commit
Diffstat (limited to 'modules/base-cac-CentOS-7-64bit.nix')
-rw-r--r-- | modules/base-cac-CentOS-7-64bit.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/base-cac-CentOS-7-64bit.nix b/modules/base-cac-CentOS-7-64bit.nix new file mode 100644 index 000000000..42ab481b3 --- /dev/null +++ b/modules/base-cac-CentOS-7-64bit.nix @@ -0,0 +1,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"; } + ]; +} + |