Files
community-plugins/nix-monitor/plugin.toml
T

167 lines
4.7 KiB
TOML

id = "avivbintangaringga/nix-monitor"
name = "Nix Monitor"
version = "1.0.0"
min_noctalia = "5.0.0"
icon = "package"
author = "avivbintangaringga"
description = "Nixpkgs update monitor"
tags = [ "nix", "utility" ]
dependencies = [ "nixos-version", "git", "pkill" ]
license = "MIT"
[[widget]]
id = "Nix Monitor"
entry = "nix_monitor.luau"
[[widget.setting]]
key = "show_text"
type = "bool"
label_key = "setting.show_text.label"
default = true
[[widget.setting]]
key = "colorize_text"
type = "bool"
label_key = "setting.colorize_text.label"
default = false
[[widget.setting]]
key = "show_glyph"
type = "bool"
label_key = "setting.show_glyph.label"
default = true
[[widget.setting]]
key = "colorize_glyph"
type = "bool"
label_key = "setting.colorize_glyph.label"
default = true
[[widget.setting]]
key = "up_to_date_glyph"
type = "glyph"
label_key = "setting.up_to_date_glyph.label"
default = "rosette-discount-check"
[[widget.setting]]
key = "up_to_date_color"
type = "color"
label_key = "setting.up_to_date_color.label"
default = "#57ff57"
[[widget.setting]]
key = "checking_glyph"
type = "glyph"
label_key = "setting.checking_glyph.label"
default = "loader-3"
[[widget.setting]]
key = "checking_color"
type = "color"
label_key = "setting.checking_color.label"
default = "#ffeb57"
[[widget.setting]]
key = "update_available_glyph"
type = "glyph"
label_key = "setting.update_available_glyph.label"
default = "cloud-download"
[[widget.setting]]
key = "update_available_color"
type = "color"
label_key = "setting.update_available_color.label"
default = "#ff5757"
[[widget.setting]]
key = "unknown_glyph"
type = "glyph"
label_key = "setting.unknown_glyph.label"
default = "cloud-question"
[[widget.setting]]
key = "unknown_color"
type = "color"
label_key = "setting.unknown_color.label"
default = "on_surface"
[[setting]]
key = "check_interval"
type = "int"
label_key = "setting.check_interval.label"
description_key = "setting.check_interval.description"
default = 60
min = 10
[[setting]]
key = "show_checking_notification"
type = "bool"
label_key = "setting.checking_notification.label"
description_key = "setting.checking_notification.description"
default = false
[[setting]]
key = "show_update_notification"
type = "bool"
label_key = "setting.show_update_notification.label"
description_key = "setting.show_update_notification.description"
default = true
[[setting]]
key = "branch"
type = "select"
label_key = "setting.branch.label"
description_key = "setting.branch.description"
options = [
{ value = "master", label = "Master" },
{ value = "nixos-unstable", label = "NixOS Unstable" },
{ value = "nixos-unstable-small", label = "NixOS Unstable Small" },
{ value = "nixos-25.11", label = "NixOS 25.11" },
{ value = "nixos-25.05", label = "NixOS 25.05" },
{ value = "nixos-24.11", label = "NixOS 24.11" },
{ value = "nixos-24.05", label = "NixOS 24.05" },
{ value = "nixos-23.11", label = "NixOS 23.11" },
{ value = "nixos-23.05", label = "NixOS 23.05" },
{ value = "nixos-25.11-small", label = "NixOS 25.11 Small" },
{ value = "nixos-25.05-small", label = "NixOS 25.05 Small" },
{ value = "nixos-24.11-small", label = "NixOS 24.11 Small" },
{ value = "nixos-24.05-small", label = "NixOS 24.05 Small" },
{ value = "nixos-23.11-small", label = "NixOS 23.11 Small" },
{ value = "nixos-23.05-small", label = "NixOS 23.05 Small" },
]
default = "nixos-unstable"
[[setting]]
key = "update_command"
type = "string"
label_key = "setting.update_command.label"
description_key = "setting.update_command.description"
default = ""
[[setting]]
key = "clean_command"
type = "string"
label_key = "setting.clean_command.label"
description_key = "setting.clean_command.description"
default = "nh clean all"
[[setting]]
key = "close_on_enter"
type = "bool"
label_key = "setting.close_on_enter.label"
description_key = "setting.close_on_enter.description"
default = true
[[panel]]
id = "panel"
entry = "panel.luau"
placement = "attached"
position = "auto"
open_near_click = true
width = 420
height = 290
[[service]]
id = "service"
entry = "nix_monitor_service.luau"