mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 01:34:08 -05:00
24 lines
580 B
Nix
24 lines
580 B
Nix
{ pkgs,
|
|
...
|
|
}:{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../modules
|
|
];
|
|
networking.hostName = "nixos-remote";
|
|
environment.systemPackages = [
|
|
pkgs.git
|
|
pkgs.vim
|
|
pkgs.wget
|
|
];
|
|
|
|
boot.loader.grub.device = "/dev/xvda";
|
|
boot.loader.grub.efiSupport = true;
|
|
boot.loader.grub.efiInstallAsRemovable = true;
|
|
boot.loader.timeout = 1;
|
|
boot.loader.grub.extraConfig = ''
|
|
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
|
|
terminal_output console serial
|
|
terminal_input console serial
|
|
'';
|
|
}
|