feat: move to gruvbox

This commit is contained in:
Artur Manuel 2024-12-10 15:12:00 +00:00
commit c467ee449d
18 changed files with 442 additions and 436 deletions

View file

@ -1,7 +1,8 @@
{inputs, ...}: {
flake.overlays.default = final: prev: {
fairfax = final.callPackage ./derivations/fairfax.nix {};
nicotine-plus = final.symlinkJoin {
{self, ...}: {
flake.overlays.default = _final: prev: {
fairfax = prev.callPackage ./derivations/fairfax.nix {};
river-bedload = prev.callPackage ./derivations/river-bedload {};
nicotine-plus = prev.symlinkJoin {
name = "nicotine";
paths = [prev.nicotine-plus];
nativeBuildInputs = [prev.makeWrapper];
@ -10,7 +11,7 @@
--set-default NICOTINE_LIBADWAITA 1
'';
};
rose-pine-gtk-theme = prev.rose-pine-gtk-theme.overrideAttrs (prevAttrs: {
rose-pine-gtk-theme = prev.rose-pine-gtk-theme.overrideAttrs (_prevAttrs: {
version = "master";
src = prev.fetchFromGitHub {
owner = "rose-pine";
@ -20,20 +21,7 @@
};
});
};
perSystem = {
pkgs,
system,
...
}: {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
overlays = [
inputs.self.overlays.default
];
};
packages = {
inherit (pkgs) fairfax nicotine-plus rose-pine-gtk-theme;
};
perSystem = {pkgs, ...}: {
packages = self.overlays.default null pkgs;
};
}

View file

@ -0,0 +1,14 @@
# generated by zon2nix (https://github.com/nix-community/zon2nix)
{
linkFarm,
fetchzip,
}:
linkFarm "zig-packages" [
{
name = "1220687c8c47a48ba285d26a05600f8700d37fc637e223ced3aa8324f3650bf52242";
path = fetchzip {
url = "https://codeberg.org/ifreund/zig-wayland/archive/v0.2.0.tar.gz";
hash = "sha256-dvit+yvc0MnipqWjxJdfIsA6fJaJZOaIpx4w4woCxbE=";
};
}
]

View file

@ -0,0 +1,38 @@
{
stdenv,
fetchgit,
zig_0_13,
callPackage,
wayland-scanner,
wayland-protocols,
wayland,
pkg-config,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "river-bedload";
version = "0.1.1";
src = fetchgit {
url = "https://git.sr.ht/~novakane/${finalAttrs.pname}";
rev = "v${finalAttrs.version}";
hash = "sha256-AMxFdKVy4E1xVdimqxm8KZW39krk/Mt27MWLxEiq1JA=";
};
deps = callPackage ./build.zig.zon.nix {};
zigBuildFlags = [
"--system"
"${finalAttrs.deps}"
];
nativeBuildInputs = [
zig_0_13.hook
pkg-config
wayland-scanner
];
buildInputs = [
wayland
wayland-protocols
];
})

View file

@ -0,0 +1,52 @@
{
stdenv,
fetchFromGitHub,
fontforge,
nodejs,
pnpm,
lib,
}: let
pname = "tabler-icons";
version = "v3.24.0";
in
stdenv.mkDerivation (finalAttrs: {
inherit pname version;
src = fetchFromGitHub {
owner = "tabler";
repo = pname;
rev = version;
hash = "sha256-6v7strSKsxSmUGXRhapOlImsCj035AX1Td+IQHPs+7g=";
};
buildInputs = [fontforge];
nativeBuildInputs = [
nodejs
pnpm.configHook
];
pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs) pname version src;
hash = "sha256-/BB1FaMR06uwv3Za6+PWSWMPLtoRXRTqsZDV3DIgaxs=";
};
# buildPhase = ''
# runHook preBuild
# npm run build:webfont
# runHook postBuild
# '';
installPhase = ''
mkdir -p $out/useless_dir_just_check_contents
mv .* $out/useless_dir_just_check_contents
mv */ $out/useless_dir_just_check_contents
'';
meta = {
description = "A set of over 5700 free MIT-licensed high-quality SVG icons for you to use in your web projects.";
homepage = "https://tabler.io/icons";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [amadaluzia];
};
})