Open oldeferentro opened 2 months ago
Maybe you can have a look at my config files. (I am also a noob) https://github.com/Zirui-Ding/nix-config
Briefly, I added this and stylix in my inputs of flake.nix,
stylix.url = "github:danth/stylix";
apple-fonts.url = "github:Lyndeno/apple-fonts.nix";
Setted specialArgs = { inherit inputs;};
,
Used stylix as a module stylix.nixosModules.stylix
,
And apple fonts can be used in my configuration.nix
stylix.fonts = {
serif = {
package = inputs.apple-fonts.packages.${pkgs.system}.sf-pro-nerd;
name = "SFProDisplay Nerd Font";
};
...
};
I created a file called apple.nix and added it as a module in flake.nix (similar to how configuration.nix is address)
But it's not working. Any tips? Thanks