Fix some deprecation warnings

This commit is contained in:
notgne2 2021-08-14 14:17:56 -07:00
parent 48282bcea5
commit 5a37a4d482
No known key found for this signature in database
GPG Key ID: BB661E172B42A7F8
4 changed files with 28 additions and 24 deletions

View File

@ -54,7 +54,10 @@ in
programs.mako.font = "${cfg.favFont.name} ${toString cfg.favFont.size}"; programs.mako.font = "${cfg.favFont.name} ${toString cfg.favFont.size}";
wayland.windowManager.sway.config.fonts = [ cfg.favFont.name ]; wayland.windowManager.sway.config.fonts = {
names = [ cfg.favFont.name ];
size = cfg.favFont.size + 0.0;
};
xsession.windowManager.i3.config.fonts = [ cfg.favFont.name ]; xsession.windowManager.i3.config.fonts = [ cfg.favFont.name ];
programs.neovim.extraConfig = '' programs.neovim.extraConfig = ''

View File

@ -17,16 +17,9 @@
programs.htop = { programs.htop = {
enable = true; enable = true;
meters.left = [ settings = {
"LeftCPUs" cpu_count_from_zero = true;
"Blank" delay = 10;
"Memory"
{
kind = "Uptime";
mode = 4;
}
];
meters.right = [ "RightCPUs" "Blank" "CPU" ];
fields = [ fields = [
"USER" "USER"
"PRIORITY" "PRIORITY"
@ -37,8 +30,14 @@
"TIME" "TIME"
"COMM" "COMM"
]; ];
delay = 10; left_meters = [
cpuCountFromZero = true; "LeftCPUs"
"Blank"
"Memory"
"Uptime"
];
right_meters = [ "RightCPUs" "Blank" "CPU" ];
};
}; };
programs.git = { programs.git = {

View File

@ -91,6 +91,8 @@ in
utsushi utsushi
epkowa epkowa
hplipWithPlugin hplipWithPlugin
brscan4
dsseries
]; ];
}; };
} }

View File

@ -115,6 +115,6 @@ in
services.blueman.enable = true; services.blueman.enable = true;
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
hardware.pulseaudio.extraModules = [ pkgs.pulseaudio-modules-bt ]; hardware.pulseaudio.extraModules = [ pkgs.pulseaudio-modules-bt ];
hardware.bluetooth.config.General.Enable = "Source,Sink,Media,Socket"; hardware.bluetooth.settings.General.Enable = "Source,Sink,Media,Socket";
}; };
} }