machines: rename to 'hosts/nixos'
This will be more consistent in the future if I want to introduce darwin or home-manager configurations.
This commit is contained in:
parent
eac628963a
commit
2fb3d0f9cf
20 changed files with 1 additions and 1 deletions
23
hosts/nixos/porthos/boot.nix
Normal file
23
hosts/nixos/porthos/boot.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Boot configuration
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
boot = {
|
||||
# Use the GRUB 2 boot loader.
|
||||
loader.grub = {
|
||||
enable = true;
|
||||
version = 2;
|
||||
# Define on which hard drive you want to install Grub.
|
||||
device = "/dev/sda";
|
||||
};
|
||||
|
||||
initrd = {
|
||||
availableKernelModules = [ "uhci_hcd" "ahci" "usbhid" ];
|
||||
kernelModules = [ "dm-snapshot" ];
|
||||
};
|
||||
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
|
||||
extraModulePackages = [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue