1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-18 09:09:45 +01:00
home-manager/modules/modules.nix

126 lines
3.1 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/lib.nix
./misc/news.nix
./misc/nixpkgs.nix
./misc/pam.nix
2018-05-17 19:39:26 +02:00
./misc/qt.nix
./misc/xdg.nix
./programs/alot.nix
2018-04-09 15:04:43 +02:00
./programs/autorandr.nix
./programs/bash.nix
./programs/beets.nix
./programs/browserpass.nix
./programs/command-not-found/command-not-found.nix
2018-07-31 15:48:08 +02:00
./programs/direnv.nix
./programs/eclipse.nix
./programs/emacs.nix
./programs/feh.nix
./programs/firefox.nix
./programs/fish.nix
2018-02-18 09:45:10 +01:00
./programs/fzf.nix
./programs/git.nix
./programs/gnome-terminal.nix
2018-08-18 16:13:33 +02:00
./programs/go.nix
./programs/home-manager.nix
./programs/htop.nix
./programs/info.nix
./programs/lesspipe.nix
./programs/man.nix
./programs/mbsync.nix
./programs/mercurial.nix
./programs/msmtp.nix
./programs/neovim.nix
2018-06-08 21:09:20 +02:00
./programs/newsboat.nix
2018-09-19 16:00:00 +02:00
./programs/noti.nix
./programs/notmuch.nix
2018-09-26 05:55:51 +02:00
./programs/obs-studio.nix
./programs/offlineimap.nix
2018-02-17 09:39:31 +01:00
./programs/pidgin.nix
./programs/rofi.nix
./programs/ssh.nix
2018-09-13 19:36:57 +02:00
./programs/taskwarrior.nix
./programs/termite.nix
./programs/texlive.nix
./programs/vim.nix
./programs/zathura.nix
./programs/zsh.nix
./services/blueman-applet.nix
./services/compton.nix
./services/dunst.nix
2018-05-03 14:29:03 +02:00
./services/flameshot.nix
./services/gnome-keyring.nix
./services/gpg-agent.nix
2017-11-22 00:29:30 +01:00
./services/kbfs.nix
2018-06-04 15:59:38 +02:00
./services/kdeconnect.nix
./services/keepassx.nix
2017-11-22 00:29:30 +01:00
./services/keybase.nix
2018-04-26 23:36:09 +02:00
./services/mbsync.nix
2018-07-15 08:33:32 +02:00
./services/mpd.nix
./services/network-manager-applet.nix
./services/owncloud-client.nix
./services/parcellite.nix
2018-08-21 15:52:45 +02:00
./services/pasystray.nix
./services/polybar.nix
./services/random-background.nix
./services/redshift.nix
./services/screen-locker.nix
./services/stalonetray.nix
2018-07-19 23:29:47 +02:00
./services/status-notifier-watcher.nix
./services/syncthing.nix
./services/taffybar.nix
./services/tahoe-lafs.nix
./services/udiskie.nix
2018-03-04 07:53:10 +01:00
./services/unclutter.nix
2018-07-07 11:58:10 +02: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-11 13:51:22 +01:00
<nixpkgs/nixos/modules/misc/meta.nix>
]
++
optional pkgs.stdenv.isLinux ./programs/chromium.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 ]