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

Nix / NixOS

1732 readers
10 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

top 3 comments
sorted by: hot top controversial new old
[–] priapus@sh.itjust.works 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.

[–] areyouevenreal@lemm.ee 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.

[–] priapus@sh.itjust.works 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.