Cebidaez

joined 2 years ago
[–] Cebidaez@lemmy.sdf.org 1 points 2 years ago (1 children)

enableTidy

I recently had a chance to take a look at the nano.nix file on github responsible for building nano. But I don't see where the enableTidy attribute is declared did you mean enableTiny by any chance?

[–] Cebidaez@lemmy.sdf.org 2 points 2 years ago

It all makes sense now!

[–] Cebidaez@lemmy.sdf.org 1 points 2 years ago (4 children)

Inside of this example would the sets that are changeable inside of .override like bar for example be the definitions made within the .nix file for a respective package? I'm trying to understand how I know what can be overridden.

[–] Cebidaez@lemmy.sdf.org 1 points 2 years ago (1 children)

So If I am understanding this, Overlays are a way to apply changes to the package via its definition using already existing mentions like overriding and such then propagating those changes outside to an entire set of packages.

 

I've been messing around with nix flakes to configure my NixOS system and to put the final touches on I wanted to write an overlay of Neovim with the plugins and everything configured with Lua and then use this overlay to install neovim-qt. After reading various docs on Overlays, I get the fundamentals but I don't get where to look to find a list of all the configurable options that an overlay provides? Typically I can look in the home-mananger nix decleration of a package for the options exposed or nixpkgs for the options in configuration.nix. Any help that will dive deeper into overlays or where to find their options would be greatly appreciated!