init: public

This commit is contained in:
2025-04-13 15:09:14 +08:00
parent 5995c2050b
commit 50247d94e8
253 changed files with 12964 additions and 567 deletions

View File

@@ -1,15 +1,21 @@
# This file defines overlays
{inputs, ...}: {
{ inputs, ... }:
{
# This one brings our custom packages from the 'pkgs' directory
additions = final: _prev: import ../pkgs {pkgs = final;};
additions = final: prev: import ../pkgs prev;
# This one contains whatever you want to overlay
# You can change versions, add patches, set compilation flags, anything really.
# https://nixos.wiki/wiki/Overlays
modifications = final: prev: {
# example = prev.example.overrideAttrs (oldAttrs: rec {
# ...
# });
cage = prev.cage.overrideAttrs {
patches = [ ./cage-specify-output-name.patch ];
};
qq = prev.qq.overrideAttrs {
preInstall = ''
gappsWrapperArgs+=(
--prefix GTK_IM_MODULE : fcitx
)
'';
};
easytier = final.master.easytier;
};
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
@@ -20,4 +26,20 @@
config.allowUnfree = true;
};
};
stable-packages = final: _prev: {
stable = import inputs.nixpkgs-stable {
system = final.system;
config.allowUnfree = true;
};
};
master-packages = final: _prev: {
master = import inputs.nixpkgs-master {
system = final.system;
config.allowUnfree = true;
};
};
nur-packages = inputs.nur.overlays.default;
}