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

Support for NixOS #306

Closed
lah7 opened this issue Jan 4, 2021 · 6 comments
Closed

Support for NixOS #306

lah7 opened this issue Jan 4, 2021 · 6 comments
Labels
packaging Distribution-specific problems or requests

Comments

@lah7
Copy link
Member

lah7 commented Jan 4, 2021

Noting a community (WIP) effort to package the application for NixOS:

@lah7 lah7 added the packaging Distribution-specific problems or requests label Jan 4, 2021
@jrgiacone
Copy link

Would really like this to be included

@lah7
Copy link
Member Author

lah7 commented Dec 15, 2022

It looks like it's available for NixOS. 🎉

I can add instructions to the website, but how does one install this on NixOS?

@jrgiacone
Copy link

It looks like it's available for NixOS. 🎉

I can add instructions to the website, but how does one install this on NixOS?

I can draft something up tomorrow to help.

You can do it in the typical config and just specify polychromatic as you would with other applications such as Firefox or with home manager. It’s as simple as adding Firefox in the config

I also just made a PR with the update to 0.8.0 so hopefully it goes through but I have it running

@lah7
Copy link
Member Author

lah7 commented Dec 16, 2022

Instructions wise, I was assuming it'll be identical to OpenRazer, with two possible methods (via module/config or nix-shell command) without the user group part. I'd just like to double check since I haven't used NixOS before.

@jrgiacone
Copy link

jrgiacone commented Dec 27, 2022

Instructions wise, I was assuming it'll be identical to OpenRazer, with two possible methods (via module/config or nix-shell command) without the user group part. I'd just like to double check since I haven't used NixOS before.

Yea a little similar and a little different, the nix-shell -p polychromatic will work, otherwise within home manager or the configuration.nix you would just add polychromatic under the with pkgs section:

environment.systemPackages = with pkgs; [
  neovim # included as example
  firefox # included as example
  polychromatic
];

@lah7
Copy link
Member Author

lah7 commented Dec 28, 2022

Thanks for clarifying, I'll add instructions to the website. Hopefully the v0.8.0 update for NixOS isn't too far behind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packaging Distribution-specific problems or requests
Projects
None yet
Development

No branches or pull requests

2 participants