feat: add input-emulator custom package
This commit is contained in:
parent
823455682b
commit
77ada8f814
5 changed files with 39 additions and 3 deletions
|
@ -34,6 +34,7 @@
|
||||||
hardware.sensor.iio.enable = true;
|
hardware.sensor.iio.enable = true;
|
||||||
hardware.opengl.enable = true;
|
hardware.opengl.enable = true;
|
||||||
hardware.opengl.driSupport32Bit = true;
|
hardware.opengl.driSupport32Bit = true;
|
||||||
|
hardware.uinput.enable = true;
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
waydroid.enable = true;
|
waydroid.enable = true;
|
||||||
|
|
|
@ -13,7 +13,7 @@ in
|
||||||
# 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'.
|
||||||
users.users.matt = {
|
users.users.matt = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "input" "adm" "mlocate" "video" ];
|
extraGroups = [ "wheel" "input" "uinput" "adm" "mlocate" "video" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
|
|
|
@ -69,10 +69,12 @@
|
||||||
'')
|
'')
|
||||||
|
|
||||||
tutanota-desktop
|
tutanota-desktop
|
||||||
|
input-emulator
|
||||||
swayosd
|
swayosd
|
||||||
blueberry
|
blueberry
|
||||||
libayatana-appindicator
|
libayatana-appindicator
|
||||||
libnotify
|
libnotify
|
||||||
|
libinput
|
||||||
dracula-theme
|
dracula-theme
|
||||||
dracula-icon-theme
|
dracula-icon-theme
|
||||||
steam-run
|
steam-run
|
||||||
|
|
|
@ -6,6 +6,10 @@
|
||||||
(import ./blueberry.nix)
|
(import ./blueberry.nix)
|
||||||
(import ./tutanota-desktop.nix)
|
(import ./tutanota-desktop.nix)
|
||||||
|
|
||||||
|
(final: prev: {
|
||||||
|
input-emulator = final.callPackage ./pkgs/input-emulator.nix {};
|
||||||
|
})
|
||||||
|
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
pam-fprint-grosshack = final.callPackage ./pkgs/pam-fprint-grosshack.nix {};
|
pam-fprint-grosshack = final.callPackage ./pkgs/pam-fprint-grosshack.nix {};
|
||||||
})
|
})
|
||||||
|
|
29
nixos/overlays/pkgs/input-emulator.nix
Normal file
29
nixos/overlays/pkgs/input-emulator.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, cmake
|
||||||
|
, bash-completion
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "input-emulator";
|
||||||
|
version = "6c35040e6fc4f65ce0519ee76d00d60490bcb987";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "tio";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-Im0RADqRwlZ/RiZFSVp+HwnWoLdcpRp0Ej6RP0GY0+c=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
cmake
|
||||||
|
bash-completion
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue