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; inherit (builtins) attrValues;
in in
{ {
imports = [ imports = attrValues {
../modules/shell.nix inherit (nix-config.nixosModules)
../modules/desktop.nix shell
../modules/system.nix desktop
]; system
;
};
home-manager.sharedModules = [ home-manager.sharedModules = attrValues {
../home/fish.nix inherit (nix-config.homeManagerModules)
../home/git.nix fish
../home/gtk.nix git
../home/kitty.nix gtk
../home/neovim.nix kitty
../home/xresources.nix neovim
../home/yazi.nix xresources
]; yazi
;
};
nixpkgs.overlays = attrValues nix-config.overlays; nixpkgs.overlays = attrValues nix-config.overlays;