-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
nixos/xfce: use sessionPackages #78421
Conversation
It's simply the canonical way to do things. I'm not sure how it makes the boot sequence difficult, in the end the display manager will have a session file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did not review https://git.xfce.org/xfce/xfce4-session/tree/scripts/startxfce4.in?h=xfce-4.14.0 but we were running xinitrc before too.
@volth The main benefit is reducing the NixOS modules in favour of upstream solutions, just like we do with tmpfiles.d, systemd services and so on. |
@volth i use Pantheon for some time now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
From IRC with @jtojnar
Ideally the |
We could provide both upstream session and our old one but We could provide option for switching between the two but that would be ugly. Finally, we could add new option
and then add |
It seems we have more features to implement 😄 |
This reverts commit 966e56c. See #78421 (comment).
Motivation for this change
Use upstream session in nixpkgs.
Required a little fixup in the package.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)