mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +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,6 +28,7 @@ in {
|
||||||
defaultText = literalExpression "{ }";
|
defaultText = literalExpression "{ }";
|
||||||
example = literalExpression ''
|
example = literalExpression ''
|
||||||
{
|
{
|
||||||
|
misc = {
|
||||||
assume_yes = true;
|
assume_yes = true;
|
||||||
disable = [
|
disable = [
|
||||||
"flutter"
|
"flutter"
|
||||||
|
@ -35,6 +36,7 @@ in {
|
||||||
];
|
];
|
||||||
set_title = false;
|
set_title = false;
|
||||||
cleanup = true;
|
cleanup = true;
|
||||||
|
};
|
||||||
commands = {
|
commands = {
|
||||||
"Run garbage collection on Nix store" = "nix-collect-garbage";
|
"Run garbage collection on Nix store" = "nix-collect-garbage";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
|
[commands]
|
||||||
|
"Purge unused APT packages" = "sudo apt autoremove"
|
||||||
|
|
||||||
|
[misc]
|
||||||
cleanup = true
|
cleanup = true
|
||||||
disable = ["sdkman", "flutter", "node", "nix", "home_manager"]
|
disable = ["sdkman", "flutter", "node", "nix", "home_manager"]
|
||||||
remote_topgrade_path = "bin/topgrade"
|
remote_topgrade_path = "bin/topgrade"
|
||||||
remote_topgrades = ["backup", "ci"]
|
remote_topgrades = ["backup", "ci"]
|
||||||
set_title = false
|
set_title = false
|
||||||
|
|
||||||
[commands]
|
|
||||||
"Purge unused APT packages" = "sudo apt autoremove"
|
|
||||||
|
|
|
@ -6,17 +6,21 @@
|
||||||
|
|
||||||
settings = lib.mkMerge [
|
settings = lib.mkMerge [
|
||||||
{
|
{
|
||||||
|
misc = {
|
||||||
disable = [ "sdkman" "flutter" "node" "nix" "home_manager" ];
|
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";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
misc = {
|
||||||
set_title = false;
|
set_title = false;
|
||||||
cleanup = true;
|
|
||||||
|
|
||||||
|
cleanup = true;
|
||||||
|
};
|
||||||
commands = { "Purge unused APT packages" = "sudo apt autoremove"; };
|
commands = { "Purge unused APT packages" = "sudo apt autoremove"; };
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue