-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathflake.nix
29 lines (25 loc) · 873 Bytes
/
flake.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
29
{
description = "Hypr Development Contrib";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = {
self,
nixpkgs,
}: let
genSystems = nixpkgs.lib.genAttrs [
"x86_64-linux"
"aarch64-linux"
];
pkgsFor = nixpkgs.legacyPackages;
in {
overlays.default = _: prev: {
grimblast = prev.callPackage ./grimblast {hyprland = null;};
hdrop = prev.callPackage ./hdrop {hyprland = null;};
hyprprop = prev.callPackage ./hyprprop {};
scratchpad = prev.callPackage ./scratchpad {hyprland = null;};
shellevents = prev.callPackage ./shellevents {hyprland = null;};
try_swap_workspace = prev.callPackage ./try_swap_workspace {};
};
packages = genSystems (system: self.overlays.default null pkgsFor.${system});
formatter = genSystems (system: pkgsFor.${system}.alejandra);
};
}