meta(nix): Automatically import all packages

This is now possible with the dynamic flake.nix outputs.
This commit is contained in:
Donovan Glover 2024-04-01 04:25:10 -04:00
parent 0c29329080
commit e4fb9d62a6
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 8 additions and 17 deletions

View File

@ -29,9 +29,17 @@
modules = [
./.
{
environment.pathsToLink = [
"/share/backgrounds"
"/share/eww"
"/share/thumbnailers"
"/share/fonts"
];
nixpkgs.overlays = builtins.attrValues self.overlays;
imports = builtins.attrValues self.nixosModules;
home-manager.sharedModules = builtins.attrValues self.homeManagerModules;
environment.systemPackages = builtins.attrValues self.packages.x86_64-linux;
}
];
};

View File

@ -1,17 +0,0 @@
{ pkgs, ... }:
{
environment.pathsToLink = [
"/share/backgrounds"
"/share/eww"
"/share/thumbnailers"
"/share/fonts"
];
environment.systemPackages = with pkgs; [
(callPackage ./aleo-fonts.nix { })
(callPackage ./fluent-icons.nix { })
(callPackage ./osu-backgrounds.nix { })
(callPackage ./webp-thumbnailer.nix { })
];
}