From 6874d036ea7eb599452baf37e72378e33a812577 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 3 Jul 2015 23:58:44 +0200 Subject: Moved dotfiles to submodule --- .gitmodules | 3 +++ custom/dotfiles.nix | 13 +++++++------ dotfiles | 1 + 3 files changed, 11 insertions(+), 6 deletions(-) create mode 160000 dotfiles diff --git a/.gitmodules b/.gitmodules index 8aaa81c4..c5109a18 100644 --- a/.gitmodules +++ b/.gitmodules @@ -16,3 +16,6 @@ [submodule "yggdrasil"] path = yggdrasil url = ssh://git@git.yggdrasil.li/yggdrasil +[submodule "dotfiles"] + path = dotfiles + url = git://git.yggdrasil.li/dotfiles diff --git a/custom/dotfiles.nix b/custom/dotfiles.nix index 18e67c58..c6e22e92 100644 --- a/custom/dotfiles.nix +++ b/custom/dotfiles.nix @@ -5,12 +5,13 @@ }: let - dotfiles = fetchgit (rec { - name = "dotfiles-${rev}"; - url = git://git.yggdrasil.li/dotfiles; - rev = "ece2c194432de29699c457c98e7b7db7ff2733c8"; - sha256 = "c98beb620d02ab7d6671976b2a85fef2c2c7d7047794ac599c984e9fc65da6e2"; - }); + # dotfiles = fetchgit (rec { + # name = "dotfiles-${rev}"; + # url = git://git.yggdrasil.li/dotfiles; + # rev = "ece2c194432de29699c457c98e7b7db7ff2733c8"; + # sha256 = "c98beb620d02ab7d6671976b2a85fef2c2c7d7047794ac599c984e9fc65da6e2"; + # }); + dotfiles = ../dotfiles; setupUser = name : { name = name.dir; value = '' diff --git a/dotfiles b/dotfiles new file mode 160000 index 00000000..ece2c194 --- /dev/null +++ b/dotfiles @@ -0,0 +1 @@ +Subproject commit ece2c194432de29699c457c98e7b7db7ff2733c8 -- cgit v1.2.3