Skip to content

fix(nix): set warnings as top-level config#2506

Open
Scrumplex wants to merge 1 commit intonoctalia-dev:mainfrom
Scrumplex:nix/fix-hm-systemd-warning
Open

fix(nix): set warnings as top-level config#2506
Scrumplex wants to merge 1 commit intonoctalia-dev:mainfrom
Scrumplex:nix/fix-hm-systemd-warning

Conversation

@Scrumplex
Copy link
Copy Markdown
Contributor

Pull Request

Motivation

#2495 broke the systemd feature in the Home-Manager module by setting the invalid option systemd.user.services.noctalia-shell.warnings, which doesn't exist.

This PR fixes that by setting the top-level module option warnings using mkIf.

Type of Change

Mark the relevant option with an "x".

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring

Related Issue

  • Closes #(issue number) (if any)

Testing

Describe how you tested your changes and mark the relevant items.

  • Tested on niri
  • Tested on Hyprland
  • Tested on sway
  • Tested with different bar positions and density settings
  • Tested at different interface scaling values
  • Tested with multiple monitors (if applicable)

Screenshots / Videos

If applicable, include screenshots or videos to help illustrate your changes.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my code
  • No new warnings or errors
  • Documentation or comments updated (if relevant)

Additional Notes

Add any additional context or follow-up notes for reviewers.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
@Scrumplex
Copy link
Copy Markdown
Contributor Author

CC @linusammon

Copy link
Copy Markdown
Contributor

@linusammon linusammon left a comment

Choose a reason for hiding this comment

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

Okay, wow. Definitely not my proudest moment, thanks for fixing that!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants