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/cosmic-greeter: init; nixos/cosmic: init #392837

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

thefossguy
Copy link
Member

@thefossguy thefossguy commented Mar 24, 2025

Initialize the cosmic modules so the state of broken-ness (or not) of any packages in nixpkgs can be tested. Will add changelog entry to release notes only after the DE functions "as expected."

This will help test the packages and bring out bugs like following:

Mar 25 01:18:22 matsya cosmic-session[1923]: thread 'main' panicked at 'failed to start cosmic-idle': src/main.rs:560
[---snip---]
Mar 25 01:18:23 matsya .cosmic-comp-wrapped[2045]: Unable to parse your locale: ParserError(InvalidLanguage)
Mar 25 01:18:23 matsya .cosmic-comp-wrapped[2045]: Failed to read config 'workspaces'
[---snip---]
Mar 25 01:18:23 matsya .cosmic-comp-wrapped[2045]: shortcuts custom config error: GetKey("custom", Os { code: 2, kind: NotFound, message: "No such file or directory" })

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Mar 24, 2025
@thefossguy
Copy link
Member Author

Closes #369113.

@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Mar 24, 2025
@nrabulinski
Copy link
Member

If you're copying @lilyinstarlight's work verbatim, at least have the dignity of adding a Co-authored-by

@h7x4 h7x4 added the 8.has: module (new) This PR adds a module in `nixos/` label Mar 24, 2025
Copy link
Contributor

@nyabinary nyabinary left a comment

Choose a reason for hiding this comment

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

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

@thefossguy
Copy link
Member Author

thefossguy commented Mar 25, 2025

If you're copying @lilyinstarlight's work verbatim, at least have the dignity of adding a Co-authored-by

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 feedback in form of accusation some good ol' character assassination. :/
I might be an idiot in but I'm not a malicious actor.

@thefossguy thefossguy changed the title Initialize cosmic modules nixos/cosmic-greeter: init; nixos/cosmic: init Mar 25, 2025
@thefossguy thefossguy force-pushed the cosmic-modules-init branch 2 times, most recently from 023e0d2 to c07693c Compare March 25, 2025 04:21
@thefossguy
Copy link
Member Author

@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.

@ahoneybun
Copy link
Contributor

@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.

@thefossguy
Copy link
Member Author

Resolved a few suggestions which I have made modifications for locally. Waiting on the documentation one for clarification so I can push.

@thefossguy thefossguy force-pushed the cosmic-modules-init branch from c07693c to 7750fd6 Compare March 25, 2025 20:03
@thefossguy
Copy link
Member Author

Pushed with all requested changes addressed.

@thefossguy thefossguy force-pushed the cosmic-modules-init branch from 7750fd6 to d5e6420 Compare March 25, 2025 20:06
@nyabinary
Copy link
Contributor

Can I also be added as a maintainer btw? :3

@thefossguy thefossguy force-pushed the cosmic-modules-init branch from d5e6420 to 6a752cc Compare March 26, 2025 04:52
@thefossguy
Copy link
Member Author

@nyabinary done :)

@thefossguy thefossguy force-pushed the cosmic-modules-init branch from 6a752cc to f2d3271 Compare March 26, 2025 06:06
@thefossguy
Copy link
Member Author

Noticed that i missed the cosmic-idle package. The force push before this comment adds the cosmic-idle package.

@thefossguy
Copy link
Member Author

Is this good enough to merge?

Copy link
Contributor

@GaetanLepage GaetanLepage left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the great work!

I would like an extra committer to ack this before merging.

@GaetanLepage GaetanLepage requested a review from JohnRTitor March 28, 2025 09:05
@JohnRTitor
Copy link
Contributor

Sure, I can take a look tonight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (new) This PR adds a module in `nixos/` 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants