mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-04-09 10:16:09 +08:00
fix touchpad, fix stylix polarity
This commit is contained in:
parent
f28d2287ba
commit
91ebcfa4f1
6 changed files with 27 additions and 9 deletions
17
flake.lock
generated
17
flake.lock
generated
|
|
@ -962,6 +962,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-new-libinput": {
|
||||
"locked": {
|
||||
"lastModified": 1773138432,
|
||||
"narHash": "sha256-9FtasZuEakGyXCqt7IbSALG5bgvKRKpp5DpHqlUS6V4=",
|
||||
"owner": "skowalak",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3444cf952961ac97b3366df43fa36ec393f85599",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "skowalak",
|
||||
"ref": "libinput-update-1.31.0",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-r": {
|
||||
"locked": {
|
||||
"lastModified": 1773964973,
|
||||
|
|
@ -1579,6 +1595,7 @@
|
|||
"nixGL": "nixGL",
|
||||
"nixd": "nixd",
|
||||
"nixpkgs": "nixpkgs_14",
|
||||
"nixpkgs-new-libinput": "nixpkgs-new-libinput",
|
||||
"nixpkgs-r": "nixpkgs-r",
|
||||
"nixpkgs-stable": "nixpkgs-stable_2",
|
||||
"nixpkgs-wayland": "nixpkgs-wayland",
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@
|
|||
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
||||
nixpkgs-r.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||
nixpkgs-new-libinput.url = "github:skowalak/nixpkgs/libinput-update-1.31.0";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/master";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ let
|
|||
}
|
||||
)
|
||||
// {
|
||||
inherit polarity;
|
||||
polarity = forceOrDefault polarity;
|
||||
};
|
||||
|
||||
buildSpecialisation =
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ in
|
|||
autoEnable = false;
|
||||
targets.gtk.enable = true;
|
||||
targets.gtk.flatpakSupport.enable = true;
|
||||
polarity = "dark";
|
||||
cursor = {
|
||||
package = pkgs.graphite-cursors;
|
||||
name = "graphite-dark";
|
||||
|
|
|
|||
|
|
@ -7,11 +7,11 @@
|
|||
"i8042.dumbkbd"
|
||||
"xe.enable_psr=0"
|
||||
];
|
||||
# services.udev.extraHwdb = ''
|
||||
# evdev:name:BLTP7853:00 347D:7853 Touchpad:*
|
||||
# ID_INPUT_TOUCHPAD=1
|
||||
# ID_BUS=i2c
|
||||
# ID_INTEGRATION=internal
|
||||
# ID_INPUT_TOUCHPAD_INTEGRATION=internal
|
||||
# '';
|
||||
services.udev.extraHwdb = ''
|
||||
evdev:name:BLTP7853:00 347D:7853 Touchpad:*
|
||||
ID_INPUT_TOUCHPAD=1
|
||||
ID_BUS=i2c
|
||||
ID_INTEGRATION=internal
|
||||
ID_INPUT_TOUCHPAD_INTEGRATION=internal
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
passthru.providedSessions = [ "scroll" ];
|
||||
});
|
||||
inherit (inputs.awww.packages.${final.stdenv.hostPlatform.system}) awww;
|
||||
inherit (inputs.nixpkgs-new-libinput.legacyPackages.${final.stdenv.hostPlatform.system}) libinput;
|
||||
};
|
||||
|
||||
inherit (inputs.niri.overlays) niri;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue