e9d10753d5
Instead of installing and configuring fuzzel and wl-clipboard locally, put them into Nix, too. Change-Id: I4b909ac1d0577f8bd176bbaae71583c59aaf5362 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12544 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
23 lines
659 B
Nix
23 lines
659 B
Nix
{ depot, pkgs, ... }@args:
|
|
|
|
rec {
|
|
dunstrc = ./dunstrc;
|
|
niri = ./niri.config.kdl;
|
|
fuzzel = ./fuzzel.ini;
|
|
waybar = {
|
|
config = import ./waybar/config.nix args;
|
|
style = pkgs.runCommandNoCC "waybar-style.css"
|
|
{
|
|
CHICAGO95 = depot.third_party.chicago95;
|
|
} ''
|
|
cat ${./waybar/style.css} | ${pkgs.envsubst}/bin/envsubst > $out
|
|
'';
|
|
};
|
|
|
|
# Helper derivation for iterating on waybar config.
|
|
waybarTest = pkgs.runCommandNoCC "waybar-conf" { } ''
|
|
mkdir -p $out
|
|
cat ${pkgs.writeText "waybar-conf.json" (builtins.toJSON(builtins.attrValues waybar.config))} > $out/config
|
|
cp ${waybar.style} $out/style.css
|
|
'';
|
|
}
|