mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
133 lines
3.3 KiB
Nix
133 lines
3.3 KiB
Nix
{ 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
|
|
./misc/qt.nix
|
|
./misc/version.nix
|
|
./misc/xdg.nix
|
|
./programs/afew.nix
|
|
./programs/alot.nix
|
|
./programs/astroid.nix
|
|
./programs/autorandr.nix
|
|
./programs/bash.nix
|
|
./programs/beets.nix
|
|
./programs/browserpass.nix
|
|
./programs/command-not-found/command-not-found.nix
|
|
./programs/direnv.nix
|
|
./programs/eclipse.nix
|
|
./programs/emacs.nix
|
|
./programs/feh.nix
|
|
./programs/firefox.nix
|
|
./programs/fish.nix
|
|
./programs/fzf.nix
|
|
./programs/git.nix
|
|
./programs/gnome-terminal.nix
|
|
./programs/go.nix
|
|
./programs/home-manager.nix
|
|
./programs/htop.nix
|
|
./programs/info.nix
|
|
./programs/jq.nix
|
|
./programs/lesspipe.nix
|
|
./programs/man.nix
|
|
./programs/mbsync.nix
|
|
./programs/mercurial.nix
|
|
./programs/msmtp.nix
|
|
./programs/neovim.nix
|
|
./programs/newsboat.nix
|
|
./programs/noti.nix
|
|
./programs/notmuch.nix
|
|
./programs/obs-studio.nix
|
|
./programs/offlineimap.nix
|
|
./programs/pidgin.nix
|
|
./programs/rofi.nix
|
|
./programs/ssh.nix
|
|
./programs/taskwarrior.nix
|
|
./programs/termite.nix
|
|
./programs/texlive.nix
|
|
./programs/tmux.nix
|
|
./programs/urxvt.nix
|
|
./programs/vim.nix
|
|
./programs/vscode.nix
|
|
./programs/zathura.nix
|
|
./programs/zsh.nix
|
|
./services/blueman-applet.nix
|
|
./services/compton.nix
|
|
./services/dunst.nix
|
|
./services/flameshot.nix
|
|
./services/gnome-keyring.nix
|
|
./services/gpg-agent.nix
|
|
./services/kbfs.nix
|
|
./services/kdeconnect.nix
|
|
./services/keepassx.nix
|
|
./services/keybase.nix
|
|
./services/mbsync.nix
|
|
./services/mpd.nix
|
|
./services/network-manager-applet.nix
|
|
./services/nextcloud-client.nix
|
|
./services/owncloud-client.nix
|
|
./services/parcellite.nix
|
|
./services/pasystray.nix
|
|
./services/polybar.nix
|
|
./services/random-background.nix
|
|
./services/redshift.nix
|
|
./services/screen-locker.nix
|
|
./services/stalonetray.nix
|
|
./services/status-notifier-watcher.nix
|
|
./services/syncthing.nix
|
|
./services/taffybar.nix
|
|
./services/tahoe-lafs.nix
|
|
./services/udiskie.nix
|
|
./services/unclutter.nix
|
|
./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>
|
|
<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 ]
|