-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlib.nix
44 lines (44 loc) · 1.15 KB
/
lib.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
inputs: let
inherit (inputs.nixpkgs) lib;
inherit (inputs) self;
slib = inputs.nix-std.lib;
defaultArgs = {
inherit inputs;
inherit (inputs) nix-colors;
};
mkExtraSpecialArgs = args: (defaultArgs // args);
in
slib
// lib
// {
inherit mkExtraSpecialArgs;
nixosExtraSpecialArgs = mkExtraSpecialArgs {
inherit (self) lib;
};
hmExtraSpecialArgs = mkExtraSpecialArgs {
std = slib;
};
genSystems = lib.genAttrs ["x86_64-linux"];
nixpkgsConfig = {...}: {
nixpkgs.overlays = with inputs; [
rust-overlay.overlays.default
hyprpicker.overlays.default
hyprpaper.overlays.default
hyprland-contrib.overlays.default
hyprland.overlays.default
#aagl.overlays.default
neovim-nightly-overlay.overlay
#prismlauncher.overlays.default
#hpr_scratcher.overlay.default
#anyrun.overlay
alejandra.overlay
#nil.overlays.default
];
nixpkgs.config.allowUnfreePredicate = pkg: true;
nixpkgs.config = {
allowUnfree = true;
allowBroken = false;
allowUnsupportedSystems = true;
};
};
}