GithubHelp home page GithubHelp logo

Broken with `nix-darwin` about stylix HOT 4 CLOSED

danth avatar danth commented on August 26, 2024
Broken with `nix-darwin`

from stylix.

Comments (4)

lovesegfault avatar lovesegfault commented on August 26, 2024 2

Note that, while #71 will resolve this issue for nix-darwin, IMO the expression in fromos.nix should also be fixed so that it doesn't fail to eval in the scenario above.

from stylix.

dwarfmaster avatar dwarfmaster commented on August 26, 2024

This is due to the fact that you're using the home-manager module from a NixOS config (thus the osConfig part), but the stylix module is not imported on NixOS. I'll try to fix this.

I don't know anything about nix-darwin, but how would a nix-darwin module differ from a NixOS one ?

from stylix.

lovesegfault avatar lovesegfault commented on August 26, 2024

I don't know anything about nix-darwin, but how would a nix-darwin module differ from a NixOS one ?

It would be in a darwinModules flake output, as opposed to nixModules, and looking at the current NixOS module, the only change you'd need is to remove the defaultFonts setting as that isn't available.

The docs can also help to figure out whether an option is available in nix-darwin: https://daiderd.com/nix-darwin/manual/index.html#sec-options

I can try writing the module and making a PR

from stylix.

dwarfmaster avatar dwarfmaster commented on August 26, 2024

I can try writing the module and making a PR

Please do, I'll review it but I won't be able to test it.

from stylix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.