Specify waybar config in nix.

This is to facilitate having different waybar configs for each machine.
This commit is contained in:
Tom Alexander
2025-10-16 22:06:28 -04:00
parent 3bf84445a3
commit 3918775c1d
6 changed files with 238 additions and 72 deletions

View File

@@ -146,6 +146,22 @@
# })
# ];
nixpkgs.overlays = [
(final: prev: {
imagemagick = prev.imagemagick.overrideAttrs (old: rec {
# 7.1.2-6 seems to no longer exist, so use 7.1.2-7
version = "7.1.2-7";
src = final.fetchFromGitHub {
owner = "ImageMagick";
repo = "ImageMagick";
tag = version;
hash = "sha256-9ARCYftoXiilpJoj+Y+aLCEqLmhHFYSrHfgA5DQHbGo=";
};
});
})
];
# This option defines the first version of NixOS you have installed on this particular machine,
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
#