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

[Question] Usage with SDDM Theme #36

Open
jhilker98 opened this issue Apr 23, 2023 · 2 comments
Open

[Question] Usage with SDDM Theme #36

jhilker98 opened this issue Apr 23, 2023 · 2 comments

Comments

@jhilker98
Copy link

Hi there, thanks for maintaining this. I really like being able to quickly get a consistent colorscheme for all my programs.

I'm currently creating a package for the sddm-sugar-dark theme, and trying to use nix-colors to create a wallpaper for it in a virtual machine. However, I'm getting an error that says argument nix-colors is required but not being passed. Here is my flake, and here are the files I'm using. I'm not sure what's going wrong, but I'd love to be able to use nix-colors to rice my login manager as well as my desktop.

@Misterio77
Copy link
Owner

Misterio77 commented May 2, 2023

Hey! Thanks for your kind words.

So, the ideia is that extraArgs only sets arguments for modules that are part of your configuration (i.e. part of modules on your flake or imports on other module files), callPackage does not propagate them by default. Try to do something like foo = pkgs.callPackage ./foo { inherit nix-colors; }

@jhilker98
Copy link
Author

jhilker98 commented May 2, 2023 via email

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

No branches or pull requests

2 participants