mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-11-13 21:41:47 +01:00
21 lines
527 B
Nix
21 lines
527 B
Nix
{ common, lib, pkgs, config, ... }:
|
|
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
|
|
(pkgs.nsxiv.overrideAttrs {
|
|
patches = [ (common.confgenFile "cgassets/nix/nsxiv-config.patch") ];
|
|
})
|
|
(flakePkg "github:nix-community/zon2nix")
|
|
];
|
|
|
|
config.packages.mzte-nix = pkgs.symlinkJoin {
|
|
name = "mzte-nix";
|
|
paths = config.mzte-nix-packages;
|
|
};
|
|
}
|