From cf30e0c8323589131b6759dee7fd3cc42f50b82c Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 1 May 2023 16:45:16 +0200 Subject: [PATCH] try this one? --- home-manager.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home-manager.nix b/home-manager.nix index e65b38b..771bbcb 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: let user = "exu"; @@ -105,7 +105,8 @@ in programs.waybar = { enable = true; settings = { - mainBar = builtins.fromJSON (builtins.readFile ./home-manager/config/waybar/config.json); + #mainBar = builtins.fromJSON (builtins.readFile ./home-manager/config/waybar/config.json); + mainBar = (lib.importJSON ./home-manager/config/waybar/config.json); }; };