mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat: modularize hetzner-cloud and odroid-n2plus hardware
This commit is contained in:
parent
61d582f033
commit
6672846d59
11 changed files with 79 additions and 35 deletions
|
@ -5,6 +5,8 @@
|
|||
}: {
|
||||
imports = [
|
||||
../common/core
|
||||
../common/hardware/hetzner-cloud.nix
|
||||
../common/bios-boot.nix
|
||||
../common/initrd-ssh.nix
|
||||
../common/zfs.nix
|
||||
|
||||
|
@ -13,11 +15,5 @@
|
|||
./nginx.nix
|
||||
];
|
||||
|
||||
boot.loader.timeout = lib.mkDefault 2;
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
efiSupport = false;
|
||||
devices = ["/dev/disk/by-id/${config.repo.secrets.local.disk.main}"];
|
||||
};
|
||||
console.earlySetup = true;
|
||||
boot.loader.grub.devices = ["/dev/disk/by-id/${config.repo.secrets.local.disk.main}"];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue