porthos: move files into 'machines' directory

But keep 'porthos.nix' at the root of the repository. I feel like it is
cleaner to keep device specific files at the root.
This commit is contained in:
Bruno BELANYI 2021-02-09 20:04:35 +00:00
parent f5d0118fab
commit 866225393b
7 changed files with 1 additions and 1 deletions

23
machines/porthos/boot.nix Normal file
View 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 = [ ];
};
}