mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-31 09:58:53 -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": {
|
"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"
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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 = ''
|
||||||
|
|
Loading…
Reference in a new issue