.dotfiles/nix/system/linux_aarch.nix

32 lines
600 B
Nix

{ apple-silicon-support, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
apple-silicon-support.nixosModules.apple-silicon-support
];
programs = {
sway = {
enable = true;
package = pkgs.swayfx;
};
};
boot = {
kernelParams = [ "apple_dcp.show_notch=0" ];
loader.efi.canTouchEfiVariables = false;
};
hardware.asahi = {
peripheralFirmwareDirectory = ./firmware;
useExperimentalGPUDriver = true;
setupAsahiSound = true;
withRust = true;
};
networking.hostName = "asahi-nixos";
services = {
tlp.enable = true;
};
}