From d79f6366696e09a71dc0adc39814a94faffb0870 Mon Sep 17 00:00:00 2001 From: DashieTM Date: Fri, 17 May 2024 12:54:52 +0200 Subject: [PATCH] overheating: set scale of login screen to 2.0 --- nix/base/login_manager.nix | 2 +- nix/hardware/overheating/base_config.nix | 2 +- nix/hardware/overheating/configuration.nix | 5 ++++- nix/modules/ironbar_config.nix | 14 +++++++++++--- nix/programs/coding.nix | 9 +++++++++ nix/programs/nvim/lua/plugins/lsp.lua | 4 ++++ 6 files changed, 30 insertions(+), 6 deletions(-) diff --git a/nix/base/login_manager.nix b/nix/base/login_manager.nix index 34d3280..ef13bbf 100644 --- a/nix/base/login_manager.nix +++ b/nix/base/login_manager.nix @@ -45,7 +45,7 @@ in environment.etc."greetd/hyprgreet.conf".text = '' exec-once=gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' - monitor=${config.programs.ironbar.monitor},3440x1440@180,0x0,1 + monitor=${config.programs.ironbar.monitor},3440x1440@180,0x0,${config.programs.ironbar.scale} monitor=_,disable input { diff --git a/nix/hardware/overheating/base_config.nix b/nix/hardware/overheating/base_config.nix index ee120c7..8f511ab 100644 --- a/nix/hardware/overheating/base_config.nix +++ b/nix/hardware/overheating/base_config.nix @@ -7,7 +7,7 @@ "eDP-1,2944x1840@90,0x0,2" # all others - ",highrr,auto,1" + ",highres,auto,1" ]; programs.ironbar.monitor = "eDP-1"; programs.ironbar.battery = [ diff --git a/nix/hardware/overheating/configuration.nix b/nix/hardware/overheating/configuration.nix index 5e5e01f..13161fa 100644 --- a/nix/hardware/overheating/configuration.nix +++ b/nix/hardware/overheating/configuration.nix @@ -7,5 +7,8 @@ boot.kernelPackages = pkgs.linuxPackages_latest; networking.hostName = "overheating"; programs.ironbar.monitor = "eDP-1"; - programs.boot.boot_params = []; + programs.ironbar.scale = "2.0"; + programs.boot.boot_params = [ ]; + hardware.bluetooth.enable = true; + hardware.bluetooth.powerOnBoot = true; } diff --git a/nix/modules/ironbar_config.nix b/nix/modules/ironbar_config.nix index f77886c..3ea7d1c 100644 --- a/nix/modules/ironbar_config.nix +++ b/nix/modules/ironbar_config.nix @@ -5,13 +5,21 @@ example = "eDP-1"; type = lib.types.str; description = '' - Extra settings for foo. + main monitor + ''; + }; + scale = lib.mkOption { + default = "1.0"; + example = "1.0"; + type = lib.types.str; + description = '' + Scale for the monitor ''; }; battery = lib.mkOption { - default = []; - example = []; + default = [ ]; + example = [ ]; }; }; } diff --git a/nix/programs/coding.nix b/nix/programs/coding.nix index bac1958..4bc34d4 100644 --- a/nix/programs/coding.nix +++ b/nix/programs/coding.nix @@ -25,6 +25,13 @@ #yaml yamlfmt yamllint + yaml-language-server + + #markdown + marksman + + #html + html-tidy #json jsonfmt @@ -32,6 +39,7 @@ #css tailwindcss tailwindcss-language-server + nodePackages_latest.vscode-css-languageserver-bin #editors neovide @@ -74,6 +82,7 @@ dotnet-sdk_8 omnisharp-roslyn csharpier + netcoredbg #zig zig diff --git a/nix/programs/nvim/lua/plugins/lsp.lua b/nix/programs/nvim/lua/plugins/lsp.lua index 52f7d55..dbae6e0 100644 --- a/nix/programs/nvim/lua/plugins/lsp.lua +++ b/nix/programs/nvim/lua/plugins/lsp.lua @@ -118,6 +118,10 @@ return { yamlls = { mason = false, }, + cssls = { + mason = false, + cmd = { "css-languageserver", '--stdio' }, + }, lua_ls = { mason = false, {