mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-03-12 13:28:54 +01:00
nix(containers): Prefer inheriting from outputs
This commit is contained in:
parent
1b49b750ba
commit
554630bf9a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user