diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-03 23:58:44 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-03 23:58:44 +0200 |
commit | 6874d036ea7eb599452baf37e72378e33a812577 (patch) | |
tree | 2a68532dff2d2941c6066cd46ebb3209d61fb2b4 | |
parent | 88369fd9265a994e4df26642548e1c74c1d070ca (diff) | |
download | nixos-6874d036ea7eb599452baf37e72378e33a812577.tar nixos-6874d036ea7eb599452baf37e72378e33a812577.tar.gz nixos-6874d036ea7eb599452baf37e72378e33a812577.tar.bz2 nixos-6874d036ea7eb599452baf37e72378e33a812577.tar.xz nixos-6874d036ea7eb599452baf37e72378e33a812577.zip |
Moved dotfiles to submodule
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | custom/dotfiles.nix | 13 | ||||
m--------- | dotfiles | 0 |
3 files changed, 10 insertions, 6 deletions
diff --git a/.gitmodules b/.gitmodules index 8aaa81c4..c5109a18 100644 --- a/.gitmodules +++ b/.gitmodules | |||
@@ -16,3 +16,6 @@ | |||
16 | [submodule "yggdrasil"] | 16 | [submodule "yggdrasil"] |
17 | path = yggdrasil | 17 | path = yggdrasil |
18 | url = ssh://git@git.yggdrasil.li/yggdrasil | 18 | url = ssh://git@git.yggdrasil.li/yggdrasil |
19 | [submodule "dotfiles"] | ||
20 | path = dotfiles | ||
21 | 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 @@ | |||
5 | }: | 5 | }: |
6 | 6 | ||
7 | let | 7 | let |
8 | dotfiles = fetchgit (rec { | 8 | # dotfiles = fetchgit (rec { |
9 | name = "dotfiles-${rev}"; | 9 | # name = "dotfiles-${rev}"; |
10 | url = git://git.yggdrasil.li/dotfiles; | 10 | # url = git://git.yggdrasil.li/dotfiles; |
11 | rev = "ece2c194432de29699c457c98e7b7db7ff2733c8"; | 11 | # rev = "ece2c194432de29699c457c98e7b7db7ff2733c8"; |
12 | sha256 = "c98beb620d02ab7d6671976b2a85fef2c2c7d7047794ac599c984e9fc65da6e2"; | 12 | # sha256 = "c98beb620d02ab7d6671976b2a85fef2c2c7d7047794ac599c984e9fc65da6e2"; |
13 | }); | 13 | # }); |
14 | dotfiles = ../dotfiles; | ||
14 | setupUser = name : { | 15 | setupUser = name : { |
15 | name = name.dir; | 16 | name = name.dir; |
16 | value = '' | 17 | value = '' |
diff --git a/dotfiles b/dotfiles new file mode 160000 | |||
Subproject ece2c194432de29699c457c98e7b7db7ff2733c | |||