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 Nix Darwin #162

Open
SailorSnoW opened this issue May 6, 2024 · 4 comments
Open

Support Nix Darwin #162

SailorSnoW opened this issue May 6, 2024 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@SailorSnoW
Copy link

Would it be something possible to add a module to support nix-darwin system configurations ?

Trying to use catppuccin-nix in a darwin module cause this error (grub isn't a thing in nix-darwin):

error: The option `boot.loader.grub.font' does not exist. Definition values:
       - In `<unknown-file>':
           {
             _type = "if";
             condition = false;
             content = "/nix/store/9dgvl02bvzsadmwsq014r14509bf6fmz-catppuccin-grub-theme/font.pf2";
           }
@isabelroses
Copy link
Member

isabelroses commented May 6, 2024

Would it be something possible to add a module to support nix-darwin system configurations ?

Trying to use catppuccin-nix in a darwin module cause this error (grub isn't a thing in nix-darwin):

error: The option `boot.loader.grub.font' does not exist. Definition values:
       - In `<unknown-file>':
           {
             _type = "if";
             condition = false;
             content = "/nix/store/9dgvl02bvzsadmwsq014r14509bf6fmz-catppuccin-grub-theme/font.pf2";
           }

The nixos module is for only nixos perhaps you were looking for the home-manager module?

@SailorSnoW
Copy link
Author

oh yeah I guess I can just use it through Home-manager then, but what if a nix-darwin system doesn't use home-manager then ?

@isabelroses
Copy link
Member

but what if a nix-darwin system doesn't use home-manager then?

Well the nixos module only provides grub and console colours which can't be used anyway on nix-darwin. And since the options are different between home-manager and nixos modules, the nixos modules of this repo does not provide those modules. Perhaps is someone were to PR them it could be doable, like for lazygit.

@getchoo
Copy link
Member

getchoo commented May 8, 2024

if there's enough interest i would gladly accept the addition of a nix-darwin module. my only concern would be the lack of clear configuration options for many packages, but nixos has similar issues right now so 🤷🏻

@getchoo getchoo added the help wanted Extra attention is needed label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants