1
0
Fork 0
nixos-config/home/on-foreign-machine.nix
2019-08-02 05:17:05 +02:00

27 lines
681 B
Nix

{ pkgs, config, lib, ... }:
let inherit (import ../lib) writeHaskellScript sources;
in {
home = {
packages = builtins.attrValues (import ../pkgs).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;
};
};
};
}