Re-configure dev-commit
This commit is contained in:
parent
f48b81ecea
commit
3e7bf2721f
4 changed files with 45 additions and 9 deletions
20
modules2/hosts/t480/dev-commit.nix
Normal file
20
modules2/hosts/t480/dev-commit.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixos."nixosConfigurations/t480".home-manager.users.${config.flake.meta.owner.username} =
|
||||
hmArgs: {
|
||||
programs.dev-commit.schedule.enable = true;
|
||||
programs.dev-commit.schedule.time = "daily";
|
||||
|
||||
programs.dev-commit.repoPaths =
|
||||
let
|
||||
repos = "${hmArgs.config.xdg.userDirs.extraConfig.XDG_REPOS_DIR}/forgejo/opdavies";
|
||||
in
|
||||
[
|
||||
"${repos}/email-filters"
|
||||
"${repos}/nix-config"
|
||||
"${repos}/oliverdavies.uk"
|
||||
"${repos}/opentofu-dns"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue