Update input-remapper to 2.0.0
This commit is contained in:
parent
20f296dc5e
commit
efdd564c65
|
@ -114,6 +114,8 @@ in
|
||||||
${builtins.readFile "${pkgs.pantheon.pantheon-agent-polkit}/etc/xdg/autostart/io.elementary.desktop.agent-polkit.desktop"}
|
${builtins.readFile "${pkgs.pantheon.pantheon-agent-polkit}/etc/xdg/autostart/io.elementary.desktop.agent-polkit.desktop"}
|
||||||
OnlyShowIn=sway;
|
OnlyShowIn=sway;
|
||||||
'';
|
'';
|
||||||
|
xdg.configFile."autostart/input-remapper-autoload.desktop".source =
|
||||||
|
"${pkgs.input-remapper}/share/applications/input-remapper-autoload.desktop";
|
||||||
|
|
||||||
# Multiple screen setup
|
# Multiple screen setup
|
||||||
# services.kanshi = {
|
# services.kanshi = {
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
services.xserver.libinput.enable = true;
|
services.xserver.libinput.enable = true;
|
||||||
# Keyboard
|
# Keyboard
|
||||||
services.input-remapper.enable = true;
|
services.input-remapper.enable = true;
|
||||||
services.input-remapper.serviceWantedBy = [ "graphical-session.target" ];
|
services.input-remapper.serviceWantedBy = [ "multi-user.target" ];
|
||||||
hardware.uinput.enable = true;
|
hardware.uinput.enable = true;
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
|
|
14
overlay.nix
14
overlay.nix
|
@ -17,7 +17,19 @@ let
|
||||||
sources = final.lib.attrsets.filterAttrs (name: f: !(builtins.hasAttr "outputs" f)) inputs;
|
sources = final.lib.attrsets.filterAttrs (name: f: !(builtins.hasAttr "outputs" f)) inputs;
|
||||||
};
|
};
|
||||||
|
|
||||||
overlay-versioning = final: prev: { };
|
overlay-versioning = final: prev: {
|
||||||
|
input-remapper =
|
||||||
|
prev.input-remapper.overrideAttrs (oldAttrs: rec {
|
||||||
|
version = "2.0.0";
|
||||||
|
name = "input-remapper-${version}";
|
||||||
|
src = final.fetchFromGitHub {
|
||||||
|
owner = "sezanzeb";
|
||||||
|
repo = "input-remapper";
|
||||||
|
rev = "${version}";
|
||||||
|
sha256 = "sha256-yQRUhezzI/rz7A+s5O7NGP8DjPzzXA80gIAhhV7mc3w=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
overlay-libs = final: prev: {
|
overlay-libs = final: prev: {
|
||||||
libs.crane = inputs.crane.lib.${prev.system};
|
libs.crane = inputs.crane.lib.${prev.system};
|
||||||
|
|
Loading…
Reference in a new issue