compatibility module for apple silicon via asahi linux
Find a file
2025-12-23 21:13:22 -08:00
hm-modules feat: commit initial module 2025-12-23 21:13:22 -08:00
nixos-modules feat: commit initial module 2025-12-23 21:13:22 -08:00
flake.nix feat: commit initial module 2025-12-23 21:13:22 -08:00
LICENSE Initial commit 2025-12-23 20:18:56 -08:00
README.md feat: commit initial module 2025-12-23 21:13:22 -08:00

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.