8
submitted 4 months ago by areyouevenreal@lemm.ee to c/nix@programming.dev

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
[-] priapus@sh.itjust.works 6 points 4 months ago

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 4 months ago

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 4 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.

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

Nix / NixOS

1831 readers
1 users here now

Main links

Videos

founded 2 years ago
MODERATORS