1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 03:29:45 +01:00

topgrade: update example config

This commit is contained in:
Phani Rithvij 2024-05-22 23:31:16 +05:30 committed by Robert Helgesson
parent 939375b396
commit 90010df158
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
3 changed files with 22 additions and 15 deletions

View file

@ -28,13 +28,15 @@ in {
defaultText = literalExpression "{ }";
example = literalExpression ''
{
assume_yes = true;
disable = [
"flutter"
"node"
];
set_title = false;
cleanup = true;
misc = {
assume_yes = true;
disable = [
"flutter"
"node"
];
set_title = false;
cleanup = true;
};
commands = {
"Run garbage collection on Nix store" = "nix-collect-garbage";
};

View file

@ -1,8 +1,9 @@
[commands]
"Purge unused APT packages" = "sudo apt autoremove"
[misc]
cleanup = true
disable = ["sdkman", "flutter", "node", "nix", "home_manager"]
remote_topgrade_path = "bin/topgrade"
remote_topgrades = ["backup", "ci"]
set_title = false
[commands]
"Purge unused APT packages" = "sudo apt autoremove"

View file

@ -6,17 +6,21 @@
settings = lib.mkMerge [
{
disable = [ "sdkman" "flutter" "node" "nix" "home_manager" ];
misc = {
disable = [ "sdkman" "flutter" "node" "nix" "home_manager" ];
remote_topgrades = [ "backup" "ci" ];
remote_topgrades = [ "backup" "ci" ];
remote_topgrade_path = "bin/topgrade";
remote_topgrade_path = "bin/topgrade";
};
}
{
set_title = false;
cleanup = true;
misc = {
set_title = false;
cleanup = true;
};
commands = { "Purge unused APT packages" = "sudo apt autoremove"; };
}
];