lib: zgitRepo
This commit is contained in:
parent
d1217ef796
commit
779d9946b0
2 changed files with 4 additions and 3 deletions
|
@ -20,11 +20,10 @@ in
|
||||||
repos =
|
repos =
|
||||||
let
|
let
|
||||||
home = config.home.homeDirectory;
|
home = config.home.homeDirectory;
|
||||||
zgitRepo = name: "https://git.zynh.me/Zynh0722/${name}.git";
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
"${home}/.config/nvim".url = zgitRepo "nvim";
|
"${home}/.config/nvim".url = lib.zgitRepo "nvim";
|
||||||
"${home}/Pictures/backgrounds".url = zgitRepo "backgrounds";
|
"${home}/Pictures/backgrounds".url = lib.zgitRepo "backgrounds";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -20,4 +20,6 @@ rec {
|
||||||
(mkIf predicate yes)
|
(mkIf predicate yes)
|
||||||
(mkIf (!predicate) no)
|
(mkIf (!predicate) no)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
zgitRepo = name: "https://git.zynh.me/Zynh0722/${name}.git";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue