-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathflake.nix
More file actions
37 lines (35 loc) · 1.05 KB
/
flake.nix
File metadata and controls
37 lines (35 loc) · 1.05 KB
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
29
30
31
32
33
34
35
36
37
{
description = "Linux utility for binding keyboard. mouse, touchpad and touchscreen actions to system actions (KWin compositor plugin implementation)";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { nixpkgs, ... }:
let
inherit (nixpkgs) lib;
systems = [
"aarch64-linux"
"x86_64-linux"
];
perSystem =
f:
lib.genAttrs systems (
system:
f {
pkgs = import nixpkgs { inherit system; };
}
);
in
{
packages = perSystem (
{ pkgs }:
rec {
inputactions = pkgs.kdePackages.callPackage ./standalone/nix/package.nix { };
inputactions-ctl = pkgs.kdePackages.callPackage ./ctl/nix/package.nix { };
inputactions-hyprland = pkgs.callPackage ./hyprland/nix/package.nix { };
inputactions-kwin = pkgs.kdePackages.callPackage ./kwin/nix/package.nix { };
inputactions-standalone = inputactions;
default = inputactions-kwin;
}
);
};
}