config file
This commit is contained in:
parent
c38ae133e5
commit
1f8104c456
2 changed files with 6 additions and 4 deletions
|
@ -46,8 +46,10 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
repo-clone.pkg = pkgs.writeText "${service}.conf" ''
|
||||
uwu
|
||||
'';
|
||||
repo-clone.pkg = pkgs.writeText "${service}.conf"
|
||||
(
|
||||
lib.strings.concatStringsSep "\n"
|
||||
(lib.attrsets.mapAttrsToList (target: settings: "${target} ${settings.url}") cfg.repos)
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
2
repo.nix
2
repo.nix
|
@ -4,7 +4,7 @@ let
|
|||
inherit (lib)
|
||||
types mkOption;
|
||||
in
|
||||
types.attrsOf (types.submodule ({ ... }: {
|
||||
types.attrsOf (types.submodule ({ config, ... }: {
|
||||
options = {
|
||||
url = mkOption {
|
||||
type = types.str;
|
||||
|
|
Loading…
Reference in a new issue