diff options
author | tv <tv@krebsco.de> | 2015-07-07 05:55:28 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-07-07 05:55:28 +0200 |
commit | 49a199abebdec4e684dfde05a358f1d55020135e (patch) | |
tree | 92f1fc881c8d85c5f303ec2a7c7f31b087e1b9df /modules/cd | |
parent | 45729f5a52a4172460e8ce079f604069d92efe90 (diff) |
deploy: refactor to use modified/*/paths.nix
Diffstat (limited to 'modules/cd')
-rw-r--r-- | modules/cd/default.nix | 6 | ||||
-rw-r--r-- | modules/cd/paths.nix | 12 |
2 files changed, 12 insertions, 6 deletions
diff --git a/modules/cd/default.nix b/modules/cd/default.nix index d57d46b..45b798e 100644 --- a/modules/cd/default.nix +++ b/modules/cd/default.nix @@ -10,7 +10,6 @@ in { users.extraUsers = import <secrets/extraUsers.nix>; } ./networking.nix ./users.nix - ../common/nixpkgs.nix ../tv/base.nix ../tv/base-cac-CentOS-7-64bit.nix ../tv/ejabberd.nix # XXX echtes modul @@ -50,11 +49,6 @@ in # "Developer 2" plan has two vCPUs. nix.maxJobs = 2; - nixpkgs = { - url = "https://github.com/NixOS/nixpkgs"; - rev = "4c01e6d91993b6de128795f4fbdd25f6227fb870"; - }; - environment.systemPackages = with pkgs; [ git # required for ./deploy, clone_or_update htop diff --git a/modules/cd/paths.nix b/modules/cd/paths.nix new file mode 100644 index 0000000..f873912 --- /dev/null +++ b/modules/cd/paths.nix @@ -0,0 +1,12 @@ +{ + lib.file.url = ../../lib; + modules.file.url = ../../modules; + nixpkgs.git = { + url = https://github.com/NixOS/nixpkgs; + rev = "4c01e6d91993b6de128795f4fbdd25f6227fb870"; + cache = ../../tmp/git-cache; + }; + pubkeys.file.url = ../../pubkeys; + retiolum-hosts.file.url = ../../hosts; + secrets.file.url = ../../secrets/cd/nix; +} |