mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
flake.nix: add an overlay of the packages
This commit is contained in:
parent
6a0c115432
commit
d599586053
@ -60,6 +60,9 @@ As a helpful summary, here's what my flake should contain sorting from the most
|
||||
* `packages` contains link:./pkgs[my custom packages].
|
||||
It supports the default list of systems as defined from link:https://github.com/numtide/flake-utils[`flake-utils`].
|
||||
|
||||
* `overlays` contains the overlay for extending nixpkgs with my packages.
|
||||
If you want to use my packages alongside the nixpkgs attribute then this is what you're looking for.
|
||||
|
||||
* `devShells` from link:./shells/[my custom environments].
|
||||
Similar to `homeManagerConfigurations`, you can easily use it outside of NixOS.
|
||||
|
||||
|
@ -270,6 +270,9 @@
|
||||
# Extending home-manager with my custom modules, if anyone cares.
|
||||
homeManagerModules = lib'.importModules (lib'.filesToAttr ./modules/home-manager);
|
||||
|
||||
# In case somebody wants to use my stuff to be included in nixpkgs.
|
||||
overlays.default = final: prev: import ./pkgs { pkgs = prev; };
|
||||
|
||||
# My custom packages, available in here as well. Though, I mainly support
|
||||
# "x86_64-linux". I just want to try out supporting other systems.
|
||||
packages = forAllSystems (system:
|
||||
|
Loading…
Reference in New Issue
Block a user