add topgrade

This commit is contained in:
Don Harper 2023-10-02 07:56:15 -05:00
parent 17c641196b
commit c7f82da5cc
2 changed files with 40 additions and 0 deletions

View file

@ -10,6 +10,7 @@
./neovim.nix
./newsboat.nix
./taskwarrior.nix
./topgrade.nix
./tmux.nix
./vifm.nix
];

39
home/topgrade.nix Normal file
View file

@ -0,0 +1,39 @@
{ config, pkgs, ... }:
{
programs.topgrade = {
enable = true;
#no_retry = true;
#skip_notify = true;
settings = {
assume_yes = true;
disable = [
"emacs"
"atom"
"flatpak"
"home_manager"
"pip3"
"ruby_gems"
"snap"
"shell"
"stack"
"tmux"
];
set_title = false;
cleanup = true;
commands = {
"Run garbage collection on Nix store" = "nix-collect-garbage";
};
git = {
max_concurrency = 5;
repos = [
"~/.dotfiles"
"~/bin"
"~/nixos"
"~/src/Systems/ansible"
"~/src/WWW/sites/donaldharper.com"
"~/src/WWW/sites/duckland.org"
];
};
};
};
}