feat: switch to rebased nixos-apple-silicon

This commit is contained in:
Youwen Wu 2025-01-20 13:39:32 -08:00
parent f3a5b9f676
commit 0036f1bc19
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 13 additions and 12 deletions

View file

@ -74,15 +74,15 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1735528724, "lastModified": 1737408716,
"narHash": "sha256-SGiClFwaEBidAOksU9YCFhwto6CTd9o34Qto3Qv5Iro=", "narHash": "sha256-Y3KpFq4DrkYlMHW6HaPKrTZEHGbsXQRs3Mq+Yhy2K20=",
"owner": "zzywysm", "owner": "youwen5",
"repo": "nixos-asahi", "repo": "nixos-asahi",
"rev": "a801d9cbbe75915041985918c0953bfa753add89", "rev": "7892377c12cd6b72f62aee53391cfad7000e94a4",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "zzywysm", "owner": "youwen5",
"repo": "nixos-asahi", "repo": "nixos-asahi",
"type": "github" "type": "github"
} }

View file

@ -51,7 +51,8 @@
apple-silicon = { apple-silicon = {
# url = "github:tpwrules/nixos-apple-silicon"; # url = "github:tpwrules/nixos-apple-silicon";
url = "github:zzywysm/nixos-asahi"; # url = "github:zzywysm/nixos-asahi";
url = "github:youwen5/nixos-asahi";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };

View file

@ -38,17 +38,17 @@
hardware.asahi = { hardware.asahi = {
peripheralFirmwareDirectory = "${inputs.apple-firmware}/firmware"; peripheralFirmwareDirectory = "${inputs.apple-firmware}/firmware";
useExperimentalGPUDriver = true; useExperimentalGPUDriver = true;
experimentalGPUInstallMode = "overlay"; # experimentalGPUInstallMode = "overlay";
}; };
nixpkgs.overlays = [ nixpkgs.overlays = [
inputs.apple-silicon.overlays.apple-silicon-overlay inputs.apple-silicon.overlays.apple-silicon-overlay
inputs.vesktop-bin.overlays.default inputs.vesktop-bin.overlays.default
(final: prev: { # (final: prev: {
hyprland = prev.hyprland.override { # hyprland = prev.hyprland.override {
libgbm = prev.mesa; # libgbm = prev.mesa;
}; # };
}) # })
]; ];
services.udev.extraRules = '' services.udev.extraRules = ''