summaryrefslogtreecommitdiffstats
path: root/jeschli/2configs/os-templates
diff options
context:
space:
mode:
authorjeschli <jeschli@gmail.com>2018-01-10 15:09:21 +0100
committerjeschli <jeschli@gmail.com>2018-01-10 15:09:21 +0100
commit99ee8193d7e9f882fbe98f7617dc3e9c7c7a6fe4 (patch)
tree499903b9b4f19decc8f28852fd0f7f50b5967791 /jeschli/2configs/os-templates
parente5efb2b0ae0c7dbd36c68d0b340826ef5816d927 (diff)
jeschli: +enklave.r
Diffstat (limited to 'jeschli/2configs/os-templates')
-rw-r--r--jeschli/2configs/os-templates/CentOS-7-64bit.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/jeschli/2configs/os-templates/CentOS-7-64bit.nix b/jeschli/2configs/os-templates/CentOS-7-64bit.nix
new file mode 100644
index 0000000..fb34e94
--- /dev/null
+++ b/jeschli/2configs/os-templates/CentOS-7-64bit.nix
@@ -0,0 +1,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";
+ };
+}