mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
config: set only default
for nixosModules
and homeModules
flake output
This commit is contained in:
parent
a8331e2ded
commit
c9bee4b97a
@ -382,7 +382,7 @@
|
||||
|
||||
# We're going to make our custom modules available for our flake. Whether
|
||||
# or not this is a good thing is debatable, I just want to test it.
|
||||
nixosModules = lib'.importModules (lib'.filesToAttr ./modules/nixos);
|
||||
nixosModules.default = import ./modules/nixos { lib = lib'; };
|
||||
|
||||
# I can now install home-manager users in non-NixOS systems.
|
||||
# NICE!
|
||||
@ -419,8 +419,7 @@
|
||||
users;
|
||||
|
||||
# Extending home-manager with my custom modules, if anyone cares.
|
||||
homeModules =
|
||||
lib'.importModules (lib'.filesToAttr ./modules/home-manager);
|
||||
homeModules.default = import ./modules/home-manager { lib = lib'; };
|
||||
|
||||
# In case somebody wants to use my stuff to be included in nixpkgs.
|
||||
overlays = import ./overlays // {
|
||||
|
Loading…
Reference in New Issue
Block a user