From 0f69de605e9060e3e96869c6ed5fa79082bd41e3 Mon Sep 17 00:00:00 2001 From: EinEtwas Date: Tue, 15 Oct 2024 10:31:22 +0200 Subject: [PATCH] fix: or at least try to fix waybar not showing up --- home/default.nix | 1 + home/waybar.nix | 7 ++++--- modules/wayland.nix | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/home/default.nix b/home/default.nix index 47eaae0..3f9251b 100644 --- a/home/default.nix +++ b/home/default.nix @@ -15,6 +15,7 @@ # inherit ./hyprland.nix; home.username = "rhea"; home.homeDirectory = "/home/rhea"; + programs.home-manager.enable = true; home.pointerCursor = { diff --git a/home/waybar.nix b/home/waybar.nix index 2da8607..f96c99a 100644 --- a/home/waybar.nix +++ b/home/waybar.nix @@ -1,7 +1,11 @@ +{ pkgs, ... }: { programs.waybar = { enable = true; systemd.enable = true; + + package = pkgs.waybar; + style = ./waybar.css; settings = { mainBar = { @@ -76,9 +80,6 @@ clock = { "format-alt" = "{:%a, %d. %b %H:%M}"; }; - - - }; }; }; diff --git a/modules/wayland.nix b/modules/wayland.nix index b3e0bc7..97c453e 100644 --- a/modules/wayland.nix +++ b/modules/wayland.nix @@ -7,6 +7,6 @@ pkgs.xdg-desktop-portal-hyprland ]; # TODO: I should probably set `xdg.portal.config` or `xdg.portal.configPackages` here, but for now this works... - config.common.default = "*"; + # config.common.default = "*"; }; }