New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No .xsession
is created, and xfce does not load .profile
#846
Comments
Hey, you have to enable xsession first like this: {
xsession.enable = true;
} So technically this is a feature and a common pattern in every NixOS and home-manager modules that you need to enable the module before other option are taken into account. |
Thanks for your answer. However, it turns out that it doesn't exactly solve my problem. Or more precisely, it creates more problems than it solve... So basically, when I enable After searching a bit, it appears that debian runs What is the good way to solve this problem, and let me use the WM provided by SDDM? |
The problem here is that What you want is just to have a plain {
home.file.".xprofile".text = "...";
} |
Ok, thanks you, I'll do that. Maybe the documentation could say something about that? When you enable Thanks! |
You can use
then NixOS won't force you into this X session. You can still run the HM generated session by adding
to the system configuration. |
This script won't setup the environment variables for the current DE right (assuming I'm not running the DE from it, but directly from SDDM)? So I'm not sure to see why it could be useful to run this script... |
@tobiasBora I was thinking about the issue that @Gerschtli mentioned
If you set The |
Thank you for your contribution! I marked this issue as stale due to inactivity. If this remains inactive for another 7 days, I will close this issue. Please read the relevant sections below before commenting. If you are the original author of the issue
If you are not the original author of the issue
Memorandum on closing issuesIf you have nothing of substance to add, please refrain from commenting and allow the bot close the issue. Also, don't be afraid to manually close an issue, even if it holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen--nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort. |
Hello,
first, thanks for this great project. I would like to use it to configure GTK/QT theme on xfce. However, I have some troubles with that, because for some reason, the
home-manager
creates a.profile
but does not create a.xsession
, and xfce seems to load only the.xsession
file.To demonstrate that, I'm using the following code:
and after deployement, it creates a file
.profile
that sets the environment variableQT_QPA_PLATFORMTHEME
:However, this environment variable is not exported in xfce, so i guess xfce just read the
.xsession
files:However, I don't really understand why the
.xsession
file is not created, as it's written here:And even my code
does not appear as
.xsession
does not even exist:Is it a bug or a feature? Why does nothing create the
.xsession
file for me?Thanks!
The text was updated successfully, but these errors were encountered: