From 1196b61f90cd1dc94204d70836af3a282a0f10a3 Mon Sep 17 00:00:00 2001
From: makefu <github@syntax-fehler.de>
Date: Sun, 1 Oct 2017 20:12:06 +0200
Subject: [PATCH] ma cake.r: update config

---
 1systems/cake/config.nix | 45 ++++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 16 deletions(-)

diff --git a/1systems/cake/config.nix b/1systems/cake/config.nix
index 0630d19..826af24 100644
--- a/1systems/cake/config.nix
+++ b/1systems/cake/config.nix
@@ -1,20 +1,33 @@
 { config, pkgs, ... }:
 {
-    imports = [
-        <stockholm/makefu>
-        # configure your hw:
-        # <stockholm/makefu/2configs/hw/CAC.nix>
-        # <stockholm/makefu/2configs/fs/CAC-CentOS-7-64bit.nix>
-        # <stockholm/makefu/2configs/save-diskspace.nix
-    ];
-    krebs = {
-        enable = true;
-        tinc.retiolum.enable = true;
-        build.host = config.krebs.hosts.cake;
+  imports = [
+    <stockholm/makefu>
+# configure your hw:
+# <stockholm/makefu/2configs/save-diskspace.nix>
+  ];
+  krebs = {
+    enable = true;
+    tinc.retiolum.enable = true;
+    build.host = config.krebs.hosts.cake;
+  };
+  boot.loader.grub.enable = false;
+  boot.loader.generic-extlinux-compatible.enable = true;
+  boot.kernelPackages = pkgs.linuxPackages_latest;
+  boot.kernelParams = ["cma=32M" "console=ttyS0,115200n8" "console=tty0" ];
+
+  programs.info.enable = false;
+  programs.man.enable = false;
+  services.nixosManual.enable = false;
+
+# File systems configuration for using the installer's partition layout
+  fileSystems = {
+    "/boot" = {
+      device = "/dev/disk/by-label/NIXOS_BOOT";
+      fsType = "vfat";
     };
-    # You want to change these :)
-    boot.loader.grub.device = "/dev/sda";
-    fileSystems."/" = {
-        device = "/dev/sda1";
+    "/" = {
+      device = "/dev/disk/by-label/NIXOS_SD";
+      fsType = "ext4";
     };
-}
\ No newline at end of file
+  };
+}