2017-01-07 18:16:26 +00:00
|
|
|
{ configuration
|
|
|
|
, pkgs
|
|
|
|
, lib ? pkgs.stdenv.lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
modules = [
|
|
|
|
./home-environment.nix
|
2017-01-15 19:56:18 +00:00
|
|
|
./manual.nix
|
2017-01-16 23:47:03 +00:00
|
|
|
./misc/gtk.nix
|
2017-01-16 22:54:45 +00:00
|
|
|
./misc/pam.nix
|
2017-01-07 18:16:26 +00:00
|
|
|
./programs/bash.nix
|
|
|
|
./programs/beets.nix
|
|
|
|
./programs/eclipse.nix
|
|
|
|
./programs/emacs.nix
|
2017-01-10 23:36:43 +00:00
|
|
|
./programs/firefox.nix
|
2017-01-07 18:16:26 +00:00
|
|
|
./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
|
2017-01-20 18:26:52 +00:00
|
|
|
./services/redshift.nix
|
2017-01-07 18:16:26 +00:00
|
|
|
./services/taffybar.nix
|
|
|
|
./services/tahoe-lafs.nix
|
|
|
|
./services/udiskie.nix
|
|
|
|
./services/xscreensaver.nix
|
|
|
|
./systemd.nix
|
2017-01-12 00:01:15 +00:00
|
|
|
./xresources.nix
|
2017-01-07 18:16:26 +00:00
|
|
|
./xsession.nix
|
2017-01-15 19:56:18 +00:00
|
|
|
<nixpkgs/nixos/modules/misc/meta.nix>
|
2017-01-07 18:16:26 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
pkgsModule = {
|
|
|
|
config._module.args.pkgs = lib.mkForce pkgs;
|
2017-01-15 19:56:18 +00:00
|
|
|
config._module.args.baseModules = modules;
|
2017-01-07 18:16:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
module = lib.evalModules {
|
|
|
|
modules = [ configuration ] ++ modules ++ [ pkgsModule ];
|
|
|
|
};
|
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
{
|
|
|
|
inherit (module) options config;
|
|
|
|
|
|
|
|
activation-script = module.config.home.activationPackage;
|
|
|
|
home-path = module.config.home.path;
|
|
|
|
}
|