1
0
nixfiles/hosts/carbon/configuration.nix

28 lines
586 B
Nix
Raw Normal View History

2020-12-06 16:40:47 +01:00
{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
../../configuration/common
];
boot.kernelParams = [ "console=ttyS0,115200n8" ];
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/sda";
boot.loader.grub.extraConfig = "
serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
terminal_input serial
terminal_output serial
";
networking.hostName = "carbon";
networking.useDHCP = false;
networking.interfaces.enp1s0.useDHCP = true;
system.stateVersion = "21.03";
}