Which settings of XFCE can be currently configured on NixOS (during build, or afterwards via Home Manager etc.)?

Currently I am trying to create a basic configuration for my NixOS 23.05 installation with the XFCE Desktop and Window Manager. My approach is to use home-manager in standalone-mode to configure the XFCE Theme etc. on a per-user basis, which is inspired by a gist by nat-418.

My configuration looks as follows:

My programs.xfconf.enable = true; is already set in my configuration.nix and would throw an error if I would set it again in my home-manager configuration.

However, non of the changes are applied after running home-manager switch (or any of the other applicable commands). There are no errors, and the output claims that the changes are applied. But neither a log-out nor a reboot would result in visible changes in the (icon) theme, wallpaper etc. (sometimes there might occur glitches like switching from dark theme to light theme, even though this is configured nowhere).

The majority of the sources say that not many options exist besides basic things like setting the wallpaper,startup commands or general options

Questions:

1. Did I miss something (like additional commands to enable xfconf properly also for home-manager?)

2. Since nix is a functional language, I would not expect so, but: Do I have to move some package installation logic to other than home-manager files?

3. Is there a way with home-manager to do any detailed XFCE configuration changes (like task bar position) after having build the default NixOS XFCE?

4. Is it easily possible to make the configuration changes already during building the default NixOS XFCE? And if so, in an easy way with little to no additional scripting/settings that have to be applied manually by the user?

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论