stockholm: stockholm-path -> ./.

This commit is contained in:
tv 2016-02-04 03:07:47 +01:00
parent 1745d3efa0
commit fb734eded5
2 changed files with 6 additions and 8 deletions

View File

@ -17,8 +17,7 @@ let stockholm = {
nlib = import <nixpkgs/lib>;
klib = import (slib.kpath "4lib") { lib = nlib; };
slib = rec {
stockholm-path = ./.;
nspath = ns: p: stockholm-path + "/${ns}/${p}";
nspath = ns: p: ./. + "/${ns}/${p}";
kpath = nspath "krebs";
upath = nspath current-user-name;
};

View File

@ -10,14 +10,13 @@ with lib;
target = mkDefault "root@${config.krebs.build.host.name}";
source-version = 2;
source = mapAttrs (_: mkDefault) ({
nixos-config = "symlink:stockholm-private/1systems/${config.krebs.build.host.name}.nix";
nixpkgs = symlink:stockholm-nixpkgs;
null = "/home/tv/stockholm/null";
nixos-config = "symlink:stockholm/tv/1systems/${config.krebs.build.host.name}.nix";
nixpkgs = symlink:stockholm/nixpkgs;
null = "symlink:stockholm/null";
secrets = "/home/tv/secrets/${config.krebs.build.host.name}";
secrets-common = "/home/tv/secrets/common";
stockholm-krebs = "/home/tv/stockholm/krebs";
stockholm-nixpkgs = "/home/tv/stockholm/nixpkgs";
stockholm-private = "/home/tv/stockholm/tv";
stockholm = "/home/tv/stockholm";
stockholm-user = "symlink:stockholm/tv";
upstream-nixpkgs = {
url = https://github.com/NixOS/nixpkgs;
rev = "77f8f35d57618c1ba456d968524f2fb2c3448295";