diff options
author | tv <tv@shackspace.de> | 2015-07-07 05:55:28 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-07-07 05:55:28 +0200 |
commit | 366373e9c6d20501e0756a7e97cced2cb96d447d (patch) | |
tree | 94d4afccec8b669ea7564fed069513807fd4ff8b /modules/mkdir | |
parent | 9c2bc5b4d0c6a87d5902eea3c3838d28dfe89a85 (diff) |
deploy: refactor to use modified/*/paths.nix
Diffstat (limited to 'modules/mkdir')
-rw-r--r-- | modules/mkdir/default.nix | 6 | ||||
-rw-r--r-- | modules/mkdir/paths.nix | 12 |
2 files changed, 12 insertions, 6 deletions
diff --git a/modules/mkdir/default.nix b/modules/mkdir/default.nix index 5427a4590..e76419298 100644 --- a/modules/mkdir/default.nix +++ b/modules/mkdir/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/exim-smarthost.nix @@ -49,11 +48,6 @@ in nix.maxJobs = 1; - 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/mkdir/paths.nix b/modules/mkdir/paths.nix new file mode 100644 index 000000000..f873912fb --- /dev/null +++ b/modules/mkdir/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; +} |