17 lines
534 B
Nix
17 lines
534 B
Nix
{ config, lib, pkgs, flakeRoot, ... }:
|
|
let
|
|
repoWaybarDir = flakeRoot.outPath + "/assets/conf/desktop/waybar";
|
|
in
|
|
{
|
|
programs.waybar.enable = true;
|
|
# Zorg ervoor dat Waybar geen standaardstijl genereert
|
|
programs.waybar.style = lib.mkForce ""; # Forceer leeg om conflicts te voorkomen
|
|
# Definieer de bestanden als echte files (geen symlinks)
|
|
home.file.".config/waybar/config" = {
|
|
source = "${repoWaybarDir}/config.jsonc";
|
|
};
|
|
home.file.".config/waybar/style.css" = {
|
|
source = "${repoWaybarDir}/style.css";
|
|
};
|
|
}
|