overlays: init overlays as flake-parts
flake.nix: ignore overlay(s) nix: import self overlay
This commit is contained in:
parent
f068b32e5d
commit
502791c2a7
4 changed files with 26 additions and 1 deletions
|
@ -24,7 +24,10 @@
|
|||
stylua.enable = true;
|
||||
statix.enable = true;
|
||||
alejandra.enable = true;
|
||||
deadnix.enable = true;
|
||||
deadnix = {
|
||||
enable = true;
|
||||
excludes = ["technorino.nix"];
|
||||
};
|
||||
prettier = {
|
||||
enable = true;
|
||||
files = "\\.(js|ts|md|json)$";
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
inputs.hyprwayland-scanner.overlays.default
|
||||
inputs.atuin.overlays.default
|
||||
inputs.eww.overlays.default
|
||||
inputs.self.overlays.technorino
|
||||
];
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
|
|
3
overlays/default.nix
Normal file
3
overlays/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
_: {
|
||||
imports = [./technorino.nix];
|
||||
}
|
18
overlays/technorino.nix
Normal file
18
overlays/technorino.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
_: {
|
||||
flake.overlays.technorino = final: prev: {
|
||||
technorino =
|
||||
prev.chatterino2.overrideAttrs
|
||||
(old: {
|
||||
nativeBuildInputs = with prev; [cmake pkg-config];
|
||||
buildInputs = with prev; [qt6.wrapQtAppsHook qt6.qtbase qt6.qtsvg qt6.qtimageformats qt6.qttools qt6.qt5compat qt6.qtwayland boost openssl];
|
||||
cmakeFlags = ["-DBUILD_WITH_QT6=ON" "-DBUILD_WITH_QTKEYCHAIN=OFF"];
|
||||
src = prev.chatterino2.src.override {
|
||||
owner = "2547techno";
|
||||
repo = "technorino";
|
||||
rev = "24fa230d7f4c726ee2b731b8d79379eb0d220b4e";
|
||||
tag = null;
|
||||
hash = "sha256-X74Tg2muO3Wtfc5nH4QvJdOMBVK1uacU+QZMo/5Lf6E=";
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue