From 647446214b293b75880fda4a5863b5c003745996 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 1 May 2023 16:45:16 +0200 Subject: [PATCH] try this one? --- nixos-config/home-manager.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nixos-config/home-manager.nix b/nixos-config/home-manager.nix index e65b38b9..771bbcbc 100644 --- a/nixos-config/home-manager.nix +++ b/nixos-config/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); }; };