31 lines
747 B
Nix
31 lines
747 B
Nix
{ pkgs, config, lib, ... }:
|
|
let
|
|
inherit (import ../common/lib.nix) writeHaskellScript;
|
|
sources = import ../nix/sources.nix;
|
|
in
|
|
{
|
|
home = {
|
|
packages = builtins.attrValues (import ../common/pkgs.nix).foreign-home-pkgs;
|
|
sessionVariables = {
|
|
NIX_PATH = "$HOME/.nix-path";
|
|
};
|
|
file = {
|
|
home-manager-source = {
|
|
target = ".nix-path/home-manager";
|
|
source = sources.home-manager;
|
|
};
|
|
nixpkgsr-source = {
|
|
target = ".nix-path/nixpkgs";
|
|
source = sources.nixpkgs;
|
|
};
|
|
nixos = {
|
|
target = ".nix-path/nixos";
|
|
source = sources.nixpkgs;
|
|
};
|
|
unstable = {
|
|
target = ".nix-path/unstable";
|
|
source = sources.unstable;
|
|
};
|
|
};
|
|
};
|
|
}
|