2024-05-08 21:05:14 +02:00
|
|
|
{ common, lib, pkgs, config, ... }:
|
2024-04-25 00:31:45 +02:00
|
|
|
let
|
|
|
|
flakePkg = ref: (builtins.getFlake ref).packages.${pkgs.system}.default;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.mzte-nix-packages = lib.mkOption { };
|
|
|
|
|
|
|
|
config.mzte-nix-packages = [
|
|
|
|
pkgs.nix-output-monitor
|
|
|
|
pkgs.nix-du
|
2024-05-08 21:05:14 +02:00
|
|
|
(pkgs.nsxiv.overrideAttrs {
|
|
|
|
patches = [ (common.confgenFile "cgassets/nix/nsxiv-config.patch") ];
|
|
|
|
})
|
2024-04-25 00:31:45 +02:00
|
|
|
(flakePkg "github:nix-community/zon2nix")
|
|
|
|
];
|
|
|
|
|
|
|
|
config.packages.mzte-nix = pkgs.symlinkJoin {
|
|
|
|
name = "mzte-nix";
|
|
|
|
paths = config.mzte-nix-packages;
|
|
|
|
};
|
|
|
|
}
|