Skip to content
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/gnome-settings-daemon: init #56562

Merged
merged 2 commits into from Mar 2, 2019
Merged

Conversation

worldofpeace
Copy link
Contributor

Motivation for this change

Not having this kinda bugged me.

And we were going to have anyway, as it was part of #54584.

Only difference from that pr is the package option.
I feel this would be a justified case of #50476 because of the forks.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@worldofpeace worldofpeace merged commit a589f6e into NixOS:master Mar 2, 2019
@worldofpeace worldofpeace deleted the module/gsd branch March 2, 2019 03:01

config = mkIf cfg.enable {

environment.systemPackages = [ cfg.package ];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this? Neither Elementary or GNOME did this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We did, it was just hidden:

elementary-settings-daemon

gnome-menus gnome-settings-daemon gnome-shell

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did we not remove it from there?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we only need share/polkit-1/actions linked. We can use pathsToLink for that right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would already be handled by the polkit module.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Though I think maybe it still should be in gnome3.corePackages because people may depend on it being there.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you mean?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using

environment.systemPackages = [ ... ] ++ pkgs.gnome3.corePackages;

and not using our gnome3 module.

But that really doesn't matter, I'll remove it from those lists.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I do not consider that part of public interface but Nix does not really help us here. We ought to create a minimal GNOME profile. Something like https://gitlab.com/yegortimoshenko/dotfiles/blob/master/modules/services/gnome3.nix

@worldofpeace
Copy link
Contributor Author

I'm going to follow up with mate using this also, I just had a refactor branch for that module and didn't want to create a conflict.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants