home-manager/modules/modules.nix

111 lines
2.7 KiB
Nix
Raw Normal View History

{ pkgs
, lib
# Whether to enable module type checking.
, check ? true
# Whether these modules are inside a NixOS submodule.
, nixosSubmodule ? false
}:
with lib;
let
modules = [
./accounts/email.nix
./files.nix
./home-environment.nix
./manual.nix
./misc/fontconfig.nix
./misc/gtk.nix
./misc/news.nix
./misc/nixpkgs.nix
./misc/pam.nix
2018-05-17 17:39:26 +00:00
./misc/qt.nix
./misc/xdg.nix
2018-04-09 13:04:43 +00:00
./programs/autorandr.nix
./programs/bash.nix
./programs/beets.nix
./programs/browserpass.nix
./programs/command-not-found/command-not-found.nix
./programs/eclipse.nix
./programs/emacs.nix
./programs/feh.nix
./programs/firefox.nix
2018-02-18 08:45:10 +00:00
./programs/fzf.nix
./programs/git.nix
./programs/gnome-terminal.nix
./programs/home-manager.nix
./programs/htop.nix
./programs/info.nix
./programs/lesspipe.nix
./programs/man.nix
./programs/mbsync.nix
./programs/mercurial.nix
./programs/neovim.nix
2018-06-08 19:09:20 +00:00
./programs/newsboat.nix
./programs/notmuch.nix
2018-02-17 08:39:31 +00:00
./programs/pidgin.nix
./programs/rofi.nix
./programs/ssh.nix
./programs/termite.nix
./programs/texlive.nix
./programs/vim.nix
./programs/zsh.nix
./services/blueman-applet.nix
./services/compton.nix
./services/dunst.nix
2018-05-03 12:29:03 +00:00
./services/flameshot.nix
./services/gnome-keyring.nix
./services/gpg-agent.nix
2017-11-21 23:29:30 +00:00
./services/kbfs.nix
2018-06-04 13:59:38 +00:00
./services/kdeconnect.nix
./services/keepassx.nix
2017-11-21 23:29:30 +00:00
./services/keybase.nix
2018-04-26 21:36:09 +00:00
./services/mbsync.nix
./services/network-manager-applet.nix
./services/owncloud-client.nix
./services/parcellite.nix
./services/polybar.nix
./services/random-background.nix
./services/redshift.nix
./services/screen-locker.nix
./services/stalonetray.nix
./services/syncthing.nix
./services/taffybar.nix
./services/tahoe-lafs.nix
./services/udiskie.nix
2018-03-04 06:53:10 +00:00
./services/unclutter.nix
2018-07-07 09:58:10 +00:00
./services/window-managers/awesome.nix
./services/window-managers/i3.nix
./services/window-managers/xmonad.nix
./services/xscreensaver.nix
./systemd.nix
./xcursor.nix
./xresources.nix
./xsession.nix
<nixpkgs/nixos/modules/misc/assertions.nix>
2017-12-02 00:17:41 +00:00
<nixpkgs/nixos/modules/misc/lib.nix>
2017-12-11 12:51:22 +00:00
<nixpkgs/nixos/modules/misc/meta.nix>
];
pkgsModule = {
options.nixosSubmodule = mkOption {
type = types.bool;
internal = true;
readOnly = true;
};
config._module.args.baseModules = modules;
config._module.args.pkgs = lib.mkDefault pkgs;
config._module.check = check;
config.lib = import ./lib { inherit lib; };
config.nixosSubmodule = nixosSubmodule;
config.nixpkgs.system = mkDefault pkgs.system;
};
in
modules ++ [ pkgsModule ]