From c536d1e0f0325f8b1254ff95da55f809c5dac37e Mon Sep 17 00:00:00 2001 From: unexplrd Date: Mon, 11 May 2026 13:11:17 +0300 Subject: [PATCH] 1778494277 --- hosts/kled/hardware/laptop/chromebook.nix | 5 +++-- hosts/kled/misc/distributed-build.nix | 2 +- .../desktop/niri/services/kanshi/default.nix | 20 +++++++++++++++++++ modules/users/user/programs.nix | 2 +- 4 files changed, 25 insertions(+), 4 deletions(-) diff --git a/hosts/kled/hardware/laptop/chromebook.nix b/hosts/kled/hardware/laptop/chromebook.nix index b91dd64..f07ebd1 100644 --- a/hosts/kled/hardware/laptop/chromebook.nix +++ b/hosts/kled/hardware/laptop/chromebook.nix @@ -14,9 +14,10 @@ in { systemd.services.ectool-thermalset = { enable = true; serviceConfig.Type = "oneshot"; + wantedBy = ["basic.target"]; script = '' - ${ectool} thermalset 0 0 356 366 328 348 - ${ectool} thermalset 1 0 356 366 328 348 + ${ectool} thermalset 0 0 346 356 323 338 + ${ectool} thermalset 1 0 346 356 323 338 ''; }; diff --git a/hosts/kled/misc/distributed-build.nix b/hosts/kled/misc/distributed-build.nix index 4c8ed8e..6a267b1 100644 --- a/hosts/kled/misc/distributed-build.nix +++ b/hosts/kled/misc/distributed-build.nix @@ -13,7 +13,7 @@ in { distributedBuilds = true; buildMachines = [ { - hostName = "dunamis"; + hostName = "dunamis.lan"; maxJobs = 3; protocol = "ssh-ng"; publicHostKey = pubHost; diff --git a/modules/home/desktop/niri/services/kanshi/default.nix b/modules/home/desktop/niri/services/kanshi/default.nix index 2d2a018..2ecb525 100644 --- a/modules/home/desktop/niri/services/kanshi/default.nix +++ b/modules/home/desktop/niri/services/kanshi/default.nix @@ -6,6 +6,7 @@ builtin = { eldrid = "Chimei Innolux Corporation 0x1406 Unknown"; sarien = "LG Display 0x068B Unknown"; + kled = "BOE 0x095F Unknown"; # morphius =; }; in [ @@ -40,6 +41,14 @@ # adaptiveSync = true; }; } + { + output = { + criteria = builtin.kled; + position = "0,0"; + scale = 4.0 / 3.0; + # adaptiveSync = true; + }; + } { profile = { name = "dunamis"; @@ -104,6 +113,17 @@ ]; }; } + { + profile = { + name = "kled"; + outputs = [ + { + criteria = builtin.kled; + position = "0,0"; + } + ]; + }; + } { profile = { name = "sarien-undocked"; diff --git a/modules/users/user/programs.nix b/modules/users/user/programs.nix index 7dfff44..d7b73f0 100644 --- a/modules/users/user/programs.nix +++ b/modules/users/user/programs.nix @@ -33,7 +33,7 @@ in { ICEAUTHORITY = ''"$XDG_CACHE_HOME"/ICEauthority''; NUGET_PACKAGES = ''"$XDG_CACHE_HOME"/NuGetPackages''; NPM_CONFIG_INIT_MODULE = ''"$XDG_CONFIG_HOME"/npm/config/npm-init.js''; - NPM_CONFIG_CACHE = ''"$XDG_CACHE_HOME"/npm''; + # NPM_CONFIG_CACHE = ''"$XDG_CACHE_HOME"/npm''; # NPM_CONFIG_TMP = ''"$XDG_RUNTIME_DIR"/npm''; };