.dotfiles/nix/system/linux_aarch.nix
Martin Larsson c4d7f5d082 Major refactor to flake, abstract non-trivial packages into their own
files (such as firefox/spotify-qt+librespot), create utils for reusable
function library
2025-05-11 18:19:19 +02:00

31 lines
567 B
Nix

{ apple-silicon-support, pkgs, ... }:
{
imports = [
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;
};
}