nixos/cosmic-greeter: init; nixos/cosmic: init#392837
nixos/cosmic-greeter: init; nixos/cosmic: init#392837JohnRTitor merged 3 commits intoNixOS:masterfrom
Conversation
|
Closes #369113. |
|
If you're copying @lilyinstarlight's work verbatim, at least have the dignity of adding a |
nyabinary
left a comment
There was a problem hiding this comment.
The PR title should probably be named as nixos/cosmic-greeter: init; nixos/cosmic: init
Furthermore, please credit @lilyinstarlight as many others have said :P
You don't need to attack anyone to get your point across. Could have mentioned the same thing without assuming I'm a bad guy. My libcosmicAppHook PR was the first to attribute Lily so don't paint me as a bad guy. The earlier PRs from me did not attribute Lily because I'm not at all familiar with software copyrights and didn't know how to do it properly. I asked Lily how the "header" should look like and it resulted in this. I woke up and the first thing I read about this PR is |
023e0d2 to
c07693c
Compare
|
@HeitorAugustoLN @nyabinary added comments attributing code to Lily and added an option in the cosmic-greeter and cosmic modules to configure the greeter package used. |
|
@ALL let's take a step back on the replies about the lack of credit to Lily a little bit. It is possible that @thefossguy just forgot to add it in this PR which is a simple mistake. @thefossguy since the credit was added for this PR I think everyone expected it to also be included in this PR as well which caused the reaction. |
|
Resolved a few suggestions which I have made modifications for locally. Waiting on the documentation one for clarification so I can push. |
c07693c to
7750fd6
Compare
|
Pushed with all requested changes addressed. |
7750fd6 to
d5e6420
Compare
|
Can I also be added as a maintainer btw? :3 |
d5e6420 to
6a752cc
Compare
|
@nyabinary done :) |
6a752cc to
f2d3271
Compare
|
Making sure my changes incorporating |
652e3e2 to
68701d5
Compare
|
Final push addresses almost all review comments. Please let me know if I missed anything. |
0b0e4fe to
64ce112
Compare
|
Pushed commits addressing the recent reviews. Let me know if I missed anything. |
GaetanLepage
left a comment
There was a problem hiding this comment.
Diff LGTM.
Good job everyone!
|
Merging, we do want some NixOS tests though, at some point, once it gets stable enough. |
|
I don't think these "good to have defaults" should be included. For example, Avahi adds nearly a whole watt of idle usage to my system. I think it should be up to end-users to explicitly enable each of these "good to have" options if they'd like to have them enabled, rather than choosing to enable it for them because you think they're "good to have." |
|
These options are there (in also Cinnamon, Pantheon, Mate), so most features out of the box works properly for everybody. These are marked with mkDefault, feel free to set them to false. |
There was a problem hiding this comment.
Apologies I've been sick and unable to even look at this until now
I'm a bit disappointed that helpful comments were removed when this was copy-pasted from the upstream repository, some required code was not copied, and some home-manager-kludge code was mistakenly copied despite the (removed) comment. I would have probably answered questions if something was unclear, but this was done entirely without contact or coordination
| tray = { | ||
| description = "Cosmic Tray Target"; | ||
| requires = [ "graphical-session-pre.target" ]; | ||
| }; | ||
| }; |
There was a problem hiding this comment.
This is a home-manager concern and not a nixpkgs concern and has no business in the nixpkgs repository (which would have been more obvious if the comments weren't removed when copy-pasting)
As the original comment also stated, this was a temporary kludge for home-manager 24.11 which did not have nix-community/home-manager#6332, so this is even extra unnecessary on unstable
| services.displayManager.sessionPackages = [ pkgs.cosmic-session ]; | ||
| services.libinput.enable = true; | ||
| services.upower.enable = true; | ||
| # Setup PAM authentication for the `cosmic-greeter` user |
There was a problem hiding this comment.
This comment is incorrect. This has nothing to do with the cosmic-greeter user and is for screenlocking, as the original comment stated (idk why this comment was changed when this was copied)
| createHome = true; | ||
| group = "cosmic-greeter"; | ||
| }; | ||
| # Setup PAM authentication for the `cosmic-greeter` user |
There was a problem hiding this comment.
Again this has nothing to do with the cosmic-greeter user and idk why this comment was changed when copy-pasting
This is the name of the PAM service that cosmic-greeter uses and so we must configure the service to be present (the PAM NixOS module handles most of the configuration as the user specifies elsewhere, we just provide the name here and have it handle the rest as cosmic-greeter has no special requirements)
|
EDIT: I see that the fix has been merged already, thanks GaetanLeepage |
Initialize the cosmic modules so the state of broken-ness (or not) of any packages in nixpkgs can be tested.
This will help test the packages and bring out bugs like following:
Closes #369113.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.