From 366373e9c6d20501e0756a7e97cced2cb96d447d Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 7 Jul 2015 05:55:28 +0200 Subject: deploy: refactor to use modified/*/paths.nix --- modules/mu/default.nix | 6 ------ modules/mu/paths.nix | 12 ++++++++++++ 2 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 modules/mu/paths.nix (limited to 'modules/mu') diff --git a/modules/mu/default.nix b/modules/mu/default.nix index 8b37d9c5b..8490c842d 100644 --- a/modules/mu/default.nix +++ b/modules/mu/default.nix @@ -11,7 +11,6 @@ in { imports = [ - ../common/nixpkgs.nix ../tv/base.nix ../tv/exim-retiolum.nix ../tv/retiolum.nix @@ -20,11 +19,6 @@ in nix.maxJobs = 2; - nixpkgs = { - url = "https://github.com/NixOS/nixpkgs"; - rev = "4c01e6d91993b6de128795f4fbdd25f6227fb870"; - }; - services.udev.extraRules = '' SUBSYSTEM=="net", ATTR{address}=="00:90:f5:da:aa:c3", NAME="en0" SUBSYSTEM=="net", ATTR{address}=="a0:88:b4:1b:ae:6c", NAME="wl0" diff --git a/modules/mu/paths.nix b/modules/mu/paths.nix new file mode 100644 index 000000000..1c4ce52a1 --- /dev/null +++ b/modules/mu/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/wu/nix; +} -- cgit v1.2.3