compatibility module for apple silicon via asahi linux
| hm-modules | ||
| nixos-modules | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
functoros-apple-silicon
compatibility module for apple silicon via asahi linux
usage
You will need to import both the NixOS module and Home Manager module for best results.
# configuration.nix
{
imports = [
functoros-apple-silicon.nixosModules.default
];
}
# home.nix
{
imports = [
functoros-apple-silicon.homeManagerModules.default
];
}
main module options
# NixOS module options
{
functorOS.apple-silicon = {
# whether to enable the module and set sane defaults
enable = true;
# must set to path of firmware directory obtained from installation
peripheralFirmwareDirectory = ./firmware;
# you can set battery limits like this.
# start is threshold when charging begins, end is when charging ends.
# should be integers 1-100.
battery.limit = {
start = 80;
end = 90;
};
# enable the notch, and also some hyprland customizations tailored for it
# (only if HM module is imported).
notch.enable = true;
};
}
You should read the code for the rest of the options.