this post was submitted on 18 Jul 2023
669 points (92.7% liked)
Memes
45553 readers
1134 users here now
Rules:
- Be civil and nice.
- 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
view the rest of the comments
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.