diff --git a/home/default.nix b/home/default.nix index f7cbc6b..7f8fe38 100644 --- a/home/default.nix +++ b/home/default.nix @@ -144,7 +144,12 @@ in { enable = true; }; dircolors.enable = true; - btop.enable = true; + btop = { + enable = true; + package = pkgs.btop.override { + cudaSupport = host-settings.isNvidia; + }; + }; zathura.enable = true; }; diff --git a/home/programs/editors/zed.nix b/home/programs/editors/zed.nix index 5653762..7c20ebd 100644 --- a/home/programs/editors/zed.nix +++ b/home/programs/editors/zed.nix @@ -110,7 +110,12 @@ lsp = { nil = { settings = { - autoArchive = true; + nix = { + flake = { + autoArchive = true; + autoEvalInputs = true; + }; + }; }; }; pyright = { diff --git a/hosts/DanPC/settings.nix b/hosts/DanPC/settings.nix index d48df8b..fac5b4b 100644 --- a/hosts/DanPC/settings.nix +++ b/hosts/DanPC/settings.nix @@ -3,6 +3,7 @@ let lockAfterSeconds = 60 * 15; suspendAfterSeconds = 60 * 30; in rec { + isNvidia = true; ui.scale = 1.5; scaled = x: (builtins.ceil (x * ui.scale)); wayland.hyprland.monitor = [ diff --git a/hosts/framnix/settings.nix b/hosts/framnix/settings.nix index 60c8520..0ec3744 100644 --- a/hosts/framnix/settings.nix +++ b/hosts/framnix/settings.nix @@ -3,6 +3,7 @@ let lockAfterSeconds = 60 * 15; suspendAfterSeconds = 60 * 30; in rec { + isNvidia = false; ui.scale = 1.6; scaled = x: (builtins.ceil (x * ui.scale)); wayland.hyprland.monitor = [