mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
Update flake output
- Remove package outputs for MacOS since I don't have any. - Import our custom packages as an overlay for our NixOS configs. - Recursively import our modules which is more correct.
This commit is contained in:
parent
40cca61bbe
commit
d676c59cda
@ -16,7 +16,6 @@
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"i686-linux"
|
||||
"x86_64-darwin"
|
||||
"aarch64-linux"
|
||||
"armv6l-linux"
|
||||
"armv7l-linux"
|
||||
@ -33,6 +32,9 @@
|
||||
# Stallman-senpai will be disappointed.
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# Extend nixpkgs with our own package set.
|
||||
nixpkgs.overlays = [ (self: super: import ./pkgs { pkgs = super; }) ];
|
||||
|
||||
# We live in a Unicode world and dominantly English in technical fields so we'll
|
||||
# have to go with it.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
@ -69,7 +71,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 = libExtended.mapAttrs (_: path: import path)
|
||||
nixosModules = libExtended.mapAttrsRecursive (_: path: import path)
|
||||
(libExtended.filesToAttr ./modules);
|
||||
|
||||
homeConfigurations = let
|
||||
|
Loading…
Reference in New Issue
Block a user