mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-28 19:23:48 +01:00
meta(nix): Automatically import all packages
This is now possible with the dynamic flake.nix outputs.
This commit is contained in:
parent
0c29329080
commit
e4fb9d62a6
@ -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;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
@ -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 { })
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user