ma cake.r: update config
This commit is contained in:
parent
83a7262b9c
commit
fbaf146bca
|
@ -2,19 +2,32 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
<stockholm/makefu>
|
<stockholm/makefu>
|
||||||
# configure your hw:
|
# configure your hw:
|
||||||
# <stockholm/makefu/2configs/hw/CAC.nix>
|
# <stockholm/makefu/2configs/save-diskspace.nix>
|
||||||
# <stockholm/makefu/2configs/fs/CAC-CentOS-7-64bit.nix>
|
|
||||||
# <stockholm/makefu/2configs/save-diskspace.nix
|
|
||||||
];
|
];
|
||||||
krebs = {
|
krebs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
tinc.retiolum.enable = true;
|
tinc.retiolum.enable = true;
|
||||||
build.host = config.krebs.hosts.cake;
|
build.host = config.krebs.hosts.cake;
|
||||||
};
|
};
|
||||||
# You want to change these :)
|
boot.loader.grub.enable = false;
|
||||||
boot.loader.grub.device = "/dev/sda";
|
boot.loader.generic-extlinux-compatible.enable = true;
|
||||||
fileSystems."/" = {
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
device = "/dev/sda1";
|
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";
|
||||||
|
};
|
||||||
|
"/" = {
|
||||||
|
device = "/dev/disk/by-label/NIXOS_SD";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue