nixos-config/modules/home-manager/default.nix
Gabriel Arazas d524444ae0
modules: manually import the modules
This allows for an easier separation of the private modules compared to
the old `importModules` function. It is also easier to use.
2023-07-14 13:14:14 +08:00

27 lines
502 B
Nix

{ lib
# Import the private modules
, isInternal ? false
}:
let
modules = [
./files/mutable-files.nix
./programs/pop-launcher.nix
./services/archivebox.nix
./services/bleachbit.nix
./services/gallery-dl.nix
./services/plover.nix
./services/yt-dlp.nix
];
privateModules = [
./profiles/desktop.nix
./profiles/dev.nix
./profiles/editors.nix
./profiles/i18n.nix
./profiles/research.nix
];
in
modules
++ (lib.optionals isInternal privateModules)