major restructuring for using snowfall

This commit is contained in:
2024-02-01 12:42:15 +01:00
parent d8e53f1f78
commit 67d23bcd9e
87 changed files with 24 additions and 164 deletions

View File

@ -0,0 +1,24 @@
{ config, lib, pkgs, ... }:
with lib;
let cfg = config.modules.topgrade;
in {
options.modules.topgrade = { enable = mkOption { default = false; }; };
config = mkIf cfg.enable {
programs.topgrade = {
enable = true;
settings = {
misc.no_self_update = true;
git = {
# Additional git repositories to pull
repos = [ "~/.dotfiles" ];
pull_only_repos = [ "~/dev/*" ];
};
};
};
};
}