refactor: overhaul pretty much all the organization
This commit is contained in:
parent
4d05c0c645
commit
628ec321c0
15 changed files with 246 additions and 131 deletions
18
deploy/rpi5/default.nix
Normal file
18
deploy/rpi5/default.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, lib }:
|
||||
{
|
||||
options.aether.deploy.rpi5 = {
|
||||
kernelPackages = lib.mkOption {
|
||||
type = lib.types.raw;
|
||||
description = "Kernel package to use for Raspberry Pi 5 support";
|
||||
};
|
||||
};
|
||||
|
||||
config =
|
||||
let cfg = config.aether.deploy.rpi5;
|
||||
in {
|
||||
nixpkgs.system = "aarch64-linux";
|
||||
boot.kernelPackages = cfg.kernelPackages;
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = false;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue