2023-11-03 07:25:58 +00:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
self,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
systems = ["x86_64-linux"];
|
|
|
|
|
|
|
|
imports = [inputs.flake-parts.flakeModules.easyOverlay];
|
|
|
|
|
|
|
|
perSystem = {
|
|
|
|
config,
|
|
|
|
system,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
_module.args.pkgs = import inputs.nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
|
2023-11-03 09:27:04 +00:00
|
|
|
packages = let
|
2023-11-07 12:59:37 +00:00
|
|
|
inherit (pkgs) callPackage foot;
|
|
|
|
|
2023-11-03 09:27:04 +00:00
|
|
|
pins = import ../npins;
|
2023-11-07 12:59:37 +00:00
|
|
|
mkPackage = path: {__functor = self: self.override;} // (callPackage path {inherit pins;});
|
2023-11-03 09:27:04 +00:00
|
|
|
in {
|
|
|
|
# packages that follow npins entries
|
|
|
|
# they can be updated via npins
|
|
|
|
ani-cli = mkPackage ./ani-cli;
|
|
|
|
rat = mkPackage ./rat;
|
|
|
|
mov-cli = mkPackage ./mov-cli;
|
2023-11-03 15:58:45 +00:00
|
|
|
rofi-calc-wayland = mkPackage ./rofi-calc-wayland;
|
|
|
|
rofi-emoji-wayland = mkPackage ./rofi-emoji-wayland;
|
2023-11-03 09:27:04 +00:00
|
|
|
|
|
|
|
# static packages
|
|
|
|
# need manual intervention with each update
|
2023-11-07 12:59:37 +00:00
|
|
|
cloneit = callPackage ./cloneit {};
|
|
|
|
reposilite-bin = callPackage ./reposilite-bin {};
|
2023-11-11 17:36:11 +00:00
|
|
|
headscale-ui = callPackage ./headscale-ui {};
|
2023-11-03 07:25:58 +00:00
|
|
|
|
2023-11-03 09:27:04 +00:00
|
|
|
# patched packages
|
2023-11-07 12:59:37 +00:00
|
|
|
foot-transparent = foot.overrideAttrs (prev: {
|
2023-11-03 07:25:58 +00:00
|
|
|
patches =
|
2023-11-05 16:13:28 +00:00
|
|
|
(prev.patches or [])
|
2023-11-03 07:25:58 +00:00
|
|
|
++ [
|
|
|
|
../patches/0001-foot-transparent.patch
|
|
|
|
];
|
2023-11-05 16:13:28 +00:00
|
|
|
mesonFlags = prev.mesonFlags ++ ["-Dfullscreen_alpha=true"];
|
2023-11-03 07:25:58 +00:00
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|