Change in packages name for neovim Base16 plugin
This commit is contained in:
parent
4f6de7a255
commit
6b28554969
4 changed files with 24 additions and 3 deletions
|
@ -20,6 +20,17 @@
|
||||||
desktop.sway = {
|
desktop.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
kanshi = true;
|
kanshi = true;
|
||||||
|
waybar = {
|
||||||
|
laptop = true;
|
||||||
|
gpuThermal = {
|
||||||
|
enable = false;
|
||||||
|
};
|
||||||
|
cpuThermal = {
|
||||||
|
thermalZone = "2";
|
||||||
|
# hwmonPathAbs = "";
|
||||||
|
# inputFilename = "";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,7 @@ in
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
plugin = nvim-base16;
|
plugin = base16-nvim;
|
||||||
type = "lua";
|
type = "lua";
|
||||||
config = ''
|
config = ''
|
||||||
vim.cmd.colorscheme 'base16-default-dark'
|
vim.cmd.colorscheme 'base16-default-dark'
|
||||||
|
|
|
@ -22,6 +22,12 @@ in
|
||||||
|
|
||||||
cpuThermal = {
|
cpuThermal = {
|
||||||
|
|
||||||
|
thermalZone = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
default = "";
|
||||||
|
description = "CPU thermal hwmon thermal Zone";
|
||||||
|
};
|
||||||
|
|
||||||
hwmonPathAbs = mkOption {
|
hwmonPathAbs = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "";
|
default = "";
|
||||||
|
|
|
@ -121,8 +121,12 @@ in
|
||||||
"temperature" = {
|
"temperature" = {
|
||||||
"critical-threshold" = 80;
|
"critical-threshold" = 80;
|
||||||
"format" = "{temperatureC}°C ";
|
"format" = "{temperatureC}°C ";
|
||||||
"hwmon-path-abs" = "${cfg.waybar.cpuThermal.hwmonPathAbs}";
|
"thermal-zone" = mkIf ( cfg.waybar.cpuThermal.thermalZone != "" )
|
||||||
"input-filename" = "${cfg.waybar.cpuThermal.inputFilename}";
|
"${cfg.waybar.cpuThermal.thermalZone}";
|
||||||
|
"hwmon-path-abs" = mkIf ( cfg.waybar.cpuThermal.hwmonPathAbs != "" )
|
||||||
|
"${cfg.waybar.cpuThermal.hwmonPathAbs}";
|
||||||
|
"input-filename" = mkIf ( cfg.waybar.cpuThermal.inputFilename != "" )
|
||||||
|
"${cfg.waybar.cpuThermal.inputFilename}";
|
||||||
};
|
};
|
||||||
"temperature#gpu" = {
|
"temperature#gpu" = {
|
||||||
"critical-threshold" = 80;
|
"critical-threshold" = 80;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue