diff options
author | lassulus <lassulus@lassul.us> | 2017-10-03 23:56:46 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-10-03 23:56:46 +0200 |
commit | a560d859993421f37686ab782928c96e19e594a1 (patch) | |
tree | d8d83d3c82e4a3f81c33d5bbf13b57e530067e64 /makefu/1systems/cake | |
parent | 36fa4bf032ff4ee414fa4f26d70638f94772e6f3 (diff) | |
parent | 0d15dc72aa0d04028d820423f894be6049ac7895 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/1systems/cake')
-rw-r--r-- | makefu/1systems/cake/config.nix | 45 |
1 files changed, 29 insertions, 16 deletions
diff --git a/makefu/1systems/cake/config.nix b/makefu/1systems/cake/config.nix index 0630d19ad..826af24e7 100644 --- a/makefu/1systems/cake/config.nix +++ b/makefu/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 + }; +} |