this post was submitted on 01 Aug 2024
8 points (90.0% liked)

Nix / NixOS

1777 readers
1 users here now

Main links

Videos

founded 1 year ago
MODERATORS
 

I created a hyprland and waybar configuration using nix, and neither seem to actually apply. Why is this happening?

https://pastebin.com/01z6BiCj

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 3 months ago (1 children)

You need the relevant enable options set to true, otherwise the configuration files are not created and symlinked to the correct location. You have the enable option for Hyprland commented out, and do not have one for Waybar.

[–] [email protected] 3 points 3 months ago (1 children)

Yeah, I kinda thought that just installed it. Since the system config had them installed I thought I shouldn't do it. Obviously I was wrong. I've fixed it now.

[–] [email protected] 2 points 3 months ago

Yeah it's an easy mistake. For every program/service I know of in NixOS, none of the modules options will be applied if you don't enable it. Enabling it does also install it, so it's safe to remove from the system config if you want.