diff options
author | makefu <github@syntax-fehler.de> | 2016-02-04 14:36:48 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-02-04 14:36:48 +0100 |
commit | 5be8920fb0262ff703f23ef484c59f4b55a9b015 (patch) | |
tree | e51d2936cae27a42d0fd31df7a5e20d56d06e4d0 /shared/2configs/base.nix | |
parent | e402c8ce1d2786abafc1efdc64adca84d174a756 (diff) |
s 2 base: new paths, cosmetics
Diffstat (limited to 'shared/2configs/base.nix')
-rw-r--r-- | shared/2configs/base.nix | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/shared/2configs/base.nix b/shared/2configs/base.nix index 5e6072661..dd698ba97 100644 --- a/shared/2configs/base.nix +++ b/shared/2configs/base.nix @@ -16,20 +16,16 @@ with lib; # TODO rename shared user to "krebs" krebs.build.user = mkDefault config.krebs.users.shared; krebs.build.source = { - git.nixpkgs = { + upstream-nixpkgs = mkDefault { url = https://github.com/NixOS/nixpkgs; rev = "d0e3cca"; - target-path = "/var/src/nixpkgs"; - }; - dir.secrets = { - host = config.krebs.current.host; - path = mkDefault "${getEnv "HOME"}/secrets/krebs/${config.krebs.build.host.name}"; - }; - dir.stockholm = { - host = config.krebs.current.host; - path = mkDefault "${getEnv "HOME"}/stockholm"; - target-path = "/var/src/stockholm"; }; + secrets = mkDefault "${getEnv "HOME"}/secrets/krebs/${config.krebs.build.host.name}"; + stockholm = mkDefault "${getEnv "HOME"}/stockholm"; + + nixos-config = "symlink:stockholm/${config.krebs.build.user.name}/1systems/${config.krebs.build.host.name}.nix"; + nixpkgs = symlink:stockholm/nixpkgs; + stockholm-user = "symlink:stockholm/${config.krebs.build.user.name}"; }; networking.hostName = config.krebs.build.host.name; |