mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-23 03:01:23 +02: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 = [
|
modules = [
|
||||||
./.
|
./.
|
||||||
{
|
{
|
||||||
|
environment.pathsToLink = [
|
||||||
|
"/share/backgrounds"
|
||||||
|
"/share/eww"
|
||||||
|
"/share/thumbnailers"
|
||||||
|
"/share/fonts"
|
||||||
|
];
|
||||||
|
|
||||||
nixpkgs.overlays = builtins.attrValues self.overlays;
|
nixpkgs.overlays = builtins.attrValues self.overlays;
|
||||||
imports = builtins.attrValues self.nixosModules;
|
imports = builtins.attrValues self.nixosModules;
|
||||||
home-manager.sharedModules = builtins.attrValues self.homeManagerModules;
|
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…
x
Reference in New Issue
Block a user