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