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": {
"lastModified": 1735528724,
"narHash": "sha256-SGiClFwaEBidAOksU9YCFhwto6CTd9o34Qto3Qv5Iro=",
"owner": "zzywysm",
"lastModified": 1737408716,
"narHash": "sha256-Y3KpFq4DrkYlMHW6HaPKrTZEHGbsXQRs3Mq+Yhy2K20=",
"owner": "youwen5",
"repo": "nixos-asahi",
"rev": "a801d9cbbe75915041985918c0953bfa753add89",
"rev": "7892377c12cd6b72f62aee53391cfad7000e94a4",
"type": "github"
},
"original": {
"owner": "zzywysm",
"owner": "youwen5",
"repo": "nixos-asahi",
"type": "github"
}

View file

@ -51,7 +51,8 @@
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";
};

View file

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