mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 02:39:48 +01:00
topgrade: update example config
This commit is contained in:
parent
939375b396
commit
90010df158
3 changed files with 22 additions and 15 deletions
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"; };
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue