mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-31 01:48:52 -08:00
feat: switch to rebased nixos-apple-silicon
This commit is contained in:
parent
f3a5b9f676
commit
0036f1bc19
3 changed files with 13 additions and 12 deletions
10
flake.lock
10
flake.lock
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue