mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
26 lines
563 B
Nix
26 lines
563 B
Nix
{pkgs, ...}: {
|
|
home.packages = let
|
|
wrapped-xmobar = pkgs.symlinkJoin {
|
|
name = "xmobar";
|
|
paths = with pkgs; [
|
|
# Xmobar wants ghc
|
|
(haskellPackages.ghcWithPackages (self: [
|
|
self.xmobar
|
|
]))
|
|
# The executable
|
|
xmobar
|
|
];
|
|
};
|
|
in [
|
|
wrapped-xmobar
|
|
];
|
|
|
|
xdg.configFile = {
|
|
"xmobar" = {
|
|
# Xmobar uses the directory to compile too,
|
|
# Linking the entire folder directly would make the directory not writable
|
|
recursive = true;
|
|
source = "${./xmobar}";
|
|
};
|
|
};
|
|
}
|