refactor: overhaul pretty much all the organization

This commit is contained in:
Kiana Sheibani 2024-11-20 00:58:57 -05:00
parent 4d05c0c645
commit 628ec321c0
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
15 changed files with 246 additions and 131 deletions

18
deploy/rpi5/default.nix Normal file
View 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;
};
}