nix(containers): Prefer inheriting from outputs

This commit is contained in:
Donovan Glover 2024-07-12 12:28:10 -04:00
parent 1b49b750ba
commit 554630bf9a
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -4,21 +4,25 @@ let
inherit (builtins) attrValues;
in
{
imports = [
../modules/shell.nix
../modules/desktop.nix
../modules/system.nix
];
imports = attrValues {
inherit (nix-config.nixosModules)
shell
desktop
system
;
};
home-manager.sharedModules = [
../home/fish.nix
../home/git.nix
../home/gtk.nix
../home/kitty.nix
../home/neovim.nix
../home/xresources.nix
../home/yazi.nix
];
home-manager.sharedModules = attrValues {
inherit (nix-config.homeManagerModules)
fish
git
gtk
kitty
neovim
xresources
yazi
;
};
nixpkgs.overlays = attrValues nix-config.overlays;