rebuilding minimised nix files
This commit is contained in:
@@ -1,17 +1,4 @@
|
||||
{ config, lib, pkgs, flakeRoot, ... }:
|
||||
let
|
||||
repoWaybarDir = flakeRoot.outPath + "/assets/conf/desktop/waybar";
|
||||
in
|
||||
{
|
||||
programs.waybar.enable = true;
|
||||
programs.waybar.style = lib.mkForce ""; # Schakel standaardstijl uit
|
||||
home.file.".config/waybar/config" = {
|
||||
source = lib.mkForce "${repoWaybarDir}/config.jsonc";
|
||||
};
|
||||
# Overschrijf style.css handmatig na alle andere stappen
|
||||
home.activation.waybarStyle = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
mkdir -p "${config.xdg.configHome}/waybar"
|
||||
cp "${repoWaybarDir}/style.css" "${config.xdg.configHome}/waybar/style.css"
|
||||
chmod 644 "${config.xdg.configHome}/waybar/style.css"
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user