files (such as firefox/spotify-qt+librespot), create utils for reusable function library
31 lines
567 B
Nix
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;
|
|
};
|
|
}
|