mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 00:59:44 +01:00
64d6a66324
This module is adapted from the Nixpkgs version.
55 lines
1.2 KiB
Nix
55 lines
1.2 KiB
Nix
{ configuration
|
|
, pkgs
|
|
, lib ? pkgs.stdenv.lib
|
|
}:
|
|
|
|
let
|
|
|
|
modules = [
|
|
./home-environment.nix
|
|
./manual.nix
|
|
./misc/gtk.nix
|
|
./misc/pam.nix
|
|
./programs/bash.nix
|
|
./programs/beets.nix
|
|
./programs/eclipse.nix
|
|
./programs/emacs.nix
|
|
./programs/firefox.nix
|
|
./programs/git.nix
|
|
./programs/gnome-terminal.nix
|
|
./programs/lesspipe.nix
|
|
./programs/texlive.nix
|
|
./services/dunst.nix
|
|
./services/gnome-keyring.nix
|
|
./services/gpg-agent.nix
|
|
./services/keepassx.nix
|
|
./services/network-manager-applet.nix
|
|
./services/random-background.nix
|
|
./services/redshift.nix
|
|
./services/taffybar.nix
|
|
./services/tahoe-lafs.nix
|
|
./services/udiskie.nix
|
|
./services/xscreensaver.nix
|
|
./systemd.nix
|
|
./xresources.nix
|
|
./xsession.nix
|
|
<nixpkgs/nixos/modules/misc/meta.nix>
|
|
];
|
|
|
|
pkgsModule = {
|
|
config._module.args.pkgs = lib.mkForce pkgs;
|
|
config._module.args.baseModules = modules;
|
|
};
|
|
|
|
module = lib.evalModules {
|
|
modules = [ configuration ] ++ modules ++ [ pkgsModule ];
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
inherit (module) options config;
|
|
|
|
activation-script = module.config.home.activationPackage;
|
|
home-path = module.config.home.path;
|
|
}
|