mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 07:00:48 +00:00
f0d207f380
Also replace all imports of `dag.nix` by the entry in `config.lib`.
84 lines
2 KiB
Nix
84 lines
2 KiB
Nix
{ pkgs
|
|
, lib
|
|
|
|
# Whether to enable module type checking.
|
|
, check ? true
|
|
}:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
modules = [
|
|
./files.nix
|
|
./home-environment.nix
|
|
./manual.nix
|
|
./misc/fontconfig.nix
|
|
./misc/gtk.nix
|
|
./misc/news.nix
|
|
./misc/nixpkgs.nix
|
|
./misc/pam.nix
|
|
./misc/xdg.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
|
|
./programs/git.nix
|
|
./programs/gnome-terminal.nix
|
|
./programs/home-manager.nix
|
|
./programs/htop.nix
|
|
./programs/info.nix
|
|
./programs/lesspipe.nix
|
|
./programs/man.nix
|
|
./programs/neovim.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
|
|
./services/gnome-keyring.nix
|
|
./services/gpg-agent.nix
|
|
./services/kbfs.nix
|
|
./services/keepassx.nix
|
|
./services/keybase.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/syncthing.nix
|
|
./services/taffybar.nix
|
|
./services/tahoe-lafs.nix
|
|
./services/udiskie.nix
|
|
./services/window-managers/i3.nix
|
|
./services/window-managers/xmonad.nix
|
|
./services/xscreensaver.nix
|
|
./systemd.nix
|
|
./xresources.nix
|
|
./xsession.nix
|
|
<nixpkgs/nixos/modules/misc/assertions.nix>
|
|
<nixpkgs/nixos/modules/misc/lib.nix>
|
|
<nixpkgs/nixos/modules/misc/meta.nix>
|
|
];
|
|
|
|
pkgsModule = {
|
|
config._module.args.baseModules = modules;
|
|
config._module.args.pkgs = lib.mkDefault pkgs;
|
|
config._module.check = check;
|
|
config.lib = import ./lib { inherit lib; };
|
|
config.nixpkgs.system = mkDefault pkgs.system;
|
|
};
|
|
|
|
in
|
|
|
|
modules ++ [ pkgsModule ]
|