-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdefault.nix
28 lines (27 loc) · 833 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
nixosModules.x1e =
{ lib, pkgs, ... }:
{
imports = [
./modules/x1e80100.nix
./modules/el2.nix
];
config = {
nixpkgs.overlays = [
(import ./packages/overlay.nix)
(final: prev: {
sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
patches = old.patches ++ [
# https://github.com/swaywm/sway/pull/8469
(pkgs.fetchpatch {
url = "https://github.com/swaywm/sway/commit/eee930a4a0d3bf0de2235661227bf1a827edd320.patch";
hash = "sha256-1aiU4GM/OTqhJElvMecGgNbpuGbVLyhkjwC91K/eMsU=";
})
];
});
})
];
hardware.deviceTree.name = lib.mkDefault "qcom/x1e80100-lenovo-yoga-slim7x.dtb";
};
};
}