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 =
|
||||
let
|
||||
home = config.home.homeDirectory;
|
||||
zgitRepo = name: "https://git.zynh.me/Zynh0722/${name}.git";
|
||||
in
|
||||
{
|
||||
"${home}/.config/nvim".url = zgitRepo "nvim";
|
||||
"${home}/Pictures/backgrounds".url = zgitRepo "backgrounds";
|
||||
"${home}/.config/nvim".url = lib.zgitRepo "nvim";
|
||||
"${home}/Pictures/backgrounds".url = lib.zgitRepo "backgrounds";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -20,4 +20,6 @@ rec {
|
|||
(mkIf predicate yes)
|
||||
(mkIf (!predicate) no)
|
||||
];
|
||||
|
||||
zgitRepo = name: "https://git.zynh.me/Zynh0722/${name}.git";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue