this post was submitted on 18 Jul 2023
668 points (92.7% liked)

Memes

45731 readers
942 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] pimeys@lemmy.nauk.io 2 points 1 year ago

You can. I run sway and it is configured through nix:

https://github.com/pimeys/nixos/blob/main/desktop/sway/default.nix

Gnome design makes it a bit harder, but not impossible:

https://hoverbear.org/blog/declarative-gnome-configuration-in-nixos/

Somebody doing the same for KDE:

https://github.com/LunNova/nixos-configs/blob/dev/users/lun/on-nixos/kdeconfig.nix

So the answer to your question is yes. It is possible and kind of required to go the full nix route with NixOS. It might not always be super straightforward with large DEs, and for sure works much better with window managers that already utilize text configuration.