Skip to content

Commit 4e05b4e

Browse files
Merge staging-next into staging
2 parents 2bddaf6 + 4bea919 commit 4e05b4e

62 files changed

Lines changed: 434 additions & 2497 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

nixos/modules/services/home-automation/esphome.nix

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let
1717

1818
cfg = config.services.esphome;
1919

20-
stateDir = "/var/lib/esphome";
20+
stateDir = "esphome";
2121

2222
esphomeParams =
2323
if cfg.enableUnixSocket then
@@ -79,6 +79,28 @@ in
7979
type = types.bool;
8080
description = "Use ping to check online status of devices instead of mDNS";
8181
};
82+
83+
environment = mkOption {
84+
default = { };
85+
type = types.attrsOf types.str;
86+
description = ''
87+
Extra environment variables to pass to ESPHome. Secrets should be passed
88+
using the {option}`services.esphome.environmentFile` option.
89+
'';
90+
example = {
91+
USERNAME = "reimu";
92+
PASSWORD = "gensokyo9";
93+
};
94+
};
95+
96+
environmentFile = mkOption {
97+
default = null;
98+
type = types.nullOr types.path;
99+
description = ''
100+
Path to an environment file.
101+
Use this option for setting the dashboard password.
102+
'';
103+
};
82104
};
83105

84106
config = mkIf cfg.enable {
@@ -92,21 +114,25 @@ in
92114

93115
environment = {
94116
# platformio fails to determine the home directory when using DynamicUser
95-
PLATFORMIO_CORE_DIR = "${stateDir}/.platformio";
117+
PLATFORMIO_CORE_DIR = "%S/${stateDir}/.platformio";
96118
}
97-
// lib.optionalAttrs cfg.usePing { ESPHOME_DASHBOARD_USE_PING = "true"; };
119+
// lib.optionalAttrs cfg.usePing { ESPHOME_DASHBOARD_USE_PING = "true"; }
120+
// cfg.environment;
98121

99122
serviceConfig = {
100-
ExecStart = "${cfg.package}/bin/esphome dashboard ${esphomeParams} ${stateDir}";
123+
ExecStart = "${cfg.package}/bin/esphome dashboard ${esphomeParams} %S/${stateDir}";
101124
DynamicUser = true;
102125
User = "esphome";
103126
Group = "esphome";
104-
WorkingDirectory = stateDir;
127+
WorkingDirectory = "%S/${stateDir}";
105128
StateDirectory = "esphome";
106129
StateDirectoryMode = "0750";
107130
Restart = "on-failure";
108131
RuntimeDirectory = mkIf cfg.enableUnixSocket "esphome";
109132
RuntimeDirectoryMode = "0750";
133+
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
134+
ExecPaths = "%S/${stateDir}";
135+
ReadWritePaths = "%S/${stateDir}";
110136

111137
# Hardening
112138
CapabilityBoundingSet = "";

nixos/modules/services/web-apps/lasuite-docs.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,11 @@ in
519519
tryFiles = "$uri /docs/[id]/index.html";
520520
};
521521

522+
locations."~ '^/user-reconciliations/(active|inactive)/[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/?$'" =
523+
{
524+
tryFiles = "$uri /user-reconciliations/$1/[id]/index.html";
525+
};
526+
522527
locations."/api" = {
523528
proxyPass = "http://${cfg.bind}";
524529
recommendedProxySettings = true;

pkgs/applications/editors/vim/plugins/generated.nix

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11640,6 +11640,19 @@ final: prev: {
1164011640
meta.hydraPlatforms = [ ];
1164111641
};
1164211642

11643+
nvim-jump = buildVimPlugin {
11644+
pname = "nvim-jump";
11645+
version = "0-unstable-2026-04-08";
11646+
src = fetchFromGitHub {
11647+
owner = "yorickpeterse";
11648+
repo = "nvim-jump";
11649+
rev = "79c91e5860b856c66187107d8d3c8d0950261f2c";
11650+
hash = "sha256-P6PU3nFc02i52mzJUDG136z1YD3DXU0UFqtunmgUhuc=";
11651+
};
11652+
meta.homepage = "https://github.com/yorickpeterse/nvim-jump/";
11653+
meta.hydraPlatforms = [ ];
11654+
};
11655+
1164311656
nvim-k8s-crd = buildVimPlugin {
1164411657
pname = "nvim-k8s-crd";
1164511658
version = "0-unstable-2026-02-16";

pkgs/applications/editors/vim/plugins/non-generated/codediff-nvim/default.nix

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
vimPlugins,
88
autoPatchelfHook,
99
stdenv,
10+
llvmPackages,
1011
}:
1112
vimUtils.buildVimPlugin rec {
1213
pname = "codediff.nvim";
@@ -22,8 +23,16 @@ vimUtils.buildVimPlugin rec {
2223
dependencies = [ vimPlugins.nui-nvim ];
2324

2425
nativeBuildInputs = [ cmake ] ++ lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
25-
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ stdenv.cc.cc.lib ];
26+
buildInputs =
27+
lib.optionals stdenv.hostPlatform.isLinux [ stdenv.cc.cc.lib ]
28+
++ lib.optionals stdenv.hostPlatform.isDarwin [ llvmPackages.openmp ];
2629
dontUseCmakeConfigure = true;
30+
31+
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
32+
substituteInPlace libvscode-diff/CMakeLists.txt \
33+
--replace-fail 'COMMAND brew --prefix libomp' 'COMMAND echo ${llvmPackages.openmp}'
34+
'';
35+
2736
buildPhase = ''
2837
runHook preBuild
2938
make

pkgs/applications/editors/vim/plugins/vim-plugin-names

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,7 @@ https://github.com/nvim-java/nvim-java-refactor/,HEAD,
894894
https://github.com/nvim-java/nvim-java-test/,HEAD,
895895
https://codeberg.org/mfussenegger/nvim-jdtls/,,
896896
https://github.com/gennaro-tedesco/nvim-jqx/,,
897+
https://github.com/yorickpeterse/nvim-jump/,HEAD,
897898
https://github.com/anasinnyk/nvim-k8s-crd/,HEAD,
898899
https://github.com/ethanholz/nvim-lastplace/,HEAD,
899900
https://github.com/kosayoda/nvim-lightbulb/,,

pkgs/applications/editors/vscode/extensions/ms-dotnettools.csdevkit/default.nix

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ let
1616
{
1717
x86_64-linux = {
1818
arch = "linux-x64";
19-
hash = "sha256-7BC+pL9rT/lG60F4mYPMLS9BTjMvJq3pzkpp/Dk5bak=";
19+
hash = "sha256-ils23RuuuEn25DJl79mMkCXXXdoI+Pyr53VKer1Lvs8=";
2020
};
2121
aarch64-linux = {
2222
arch = "linux-arm64";
23-
hash = "sha256-aB/VNj361Z38rmIzwYc8JSCaFyYGkIxxCcBZE6YBSjU=";
23+
hash = "sha256-RULUblmg5P0EU7PnTLJO6zl27AXhzbqCHWoFDSlI65E=";
2424
};
2525
x86_64-darwin = {
2626
arch = "darwin-x64";
27-
hash = "sha256-ajOmvfdpiXN+qpT7u6mEnKL9VAeWUxFrECain6Pc/qM=";
27+
hash = "sha256-30RHJ6hwjY1OrYYJNsycjcf2TcxhmL6YQCeIMiYRGrc=";
2828
};
2929
aarch64-darwin = {
3030
arch = "darwin-arm64";
31-
hash = "sha256-6MtUbdL8Q94/trh/B714n0ZMUhtUvjRPOLHFzvqQq2s=";
31+
hash = "sha256-3bV8J09LzTj6i+YvBoP+Tqy7OIqGvBxDI7pDO0eOLGk=";
3232
};
3333
}
3434
.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}")
@@ -38,7 +38,7 @@ vscode-utils.buildVscodeMarketplaceExtension {
3838
mktplcRef = {
3939
name = "csdevkit";
4040
publisher = "ms-dotnettools";
41-
version = "1.80.7";
41+
version = "3.10.4";
4242
inherit (extInfo) hash arch;
4343
};
4444
sourceRoot = "extension"; # This has more than one folder.
@@ -63,7 +63,7 @@ vscode-utils.buildVscodeMarketplaceExtension {
6363
6464
substituteInPlace dist/extension.js \
6565
--replace-fail 'e.extensionPath,"cache"' 'require("os").tmpdir(),"'"$ext_unique_id"'"' \
66-
--replace-fail 't.setExecuteBit=async function(e){if("win32"!==process.platform){const t=i.join(e[a.SERVICEHUB_CONTROLLER_COMPONENT_NAME],"Microsoft.VisualStudio.Code.ServiceController"),r=i.join(e[a.SERVICEHUB_HOST_COMPONENT_NAME],(0,a.getServiceHubHostEntrypointName)()),n=[(0,a.getServerPath)(e),t,r,(0,c.getReliabilityMonitorPath)(e)];await Promise.all(n.map((e=>(0,o.chmod)(e,"0755"))))}}' 't.setExecuteBit=async function(e){}'
66+
--replace-fail 't.setExecuteBit=async function(e){if("win32"!==process.platform){const t=o.join(e[a.SERVICEHUB_CONTROLLER_COMPONENT_NAME],"Microsoft.VisualStudio.Code.ServiceController"),r=o.join(e[a.SERVICEHUB_HOST_COMPONENT_NAME],(0,a.getServiceHubHostEntrypointName)()),n=[(0,a.getServerPath)(e),t,r,(0,c.getReliabilityMonitorPath)(e)];await Promise.all(n.map((e=>(0,i.chmod)(e,"0755"))))}}' 't.setExecuteBit=async function(e){}'
6767
'';
6868

6969
preFixup = ''
@@ -134,7 +134,7 @@ vscode-utils.buildVscodeMarketplaceExtension {
134134
description = "Official Visual Studio Code extension for C# from Microsoft";
135135
downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit";
136136
license = lib.licenses.unfree;
137-
maintainers = with lib.maintainers; [ ggg ];
137+
maintainers = [ ];
138138
platforms = [
139139
"x86_64-linux"
140140
"aarch64-linux"

pkgs/applications/editors/vscode/extensions/ms-dotnettools.csharp/default.nix

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ let
1818
{
1919
x86_64-linux = {
2020
arch = "linux-x64";
21-
hash = "sha256-gey2F+TrWJFbcyDHwwSUijt4mJZSZND+0WUyVFF3eUg=";
21+
hash = "sha256-DtvdlODo0tbFxHTXR0MBOCM2wxWYqUCYbJRU1um+Pck=";
2222
};
2323
aarch64-linux = {
2424
arch = "linux-arm64";
25-
hash = "sha256-RxUEzWX4NPZZegdwMa+cLBZAdTNIrwHdsmyZQQ7ike4=";
25+
hash = "sha256-WduoZivxgoePof1H/DGEdnqXN7sLvQMq9I0z9NzwDnI=";
2626
};
2727
x86_64-darwin = {
2828
arch = "darwin-x64";
29-
hash = "sha256-o2MOxeDUnXkS6RaG3RajP1Mzi+2gKLFlb+WiRPG4R1s=";
29+
hash = "sha256-a5njdsMEvqVcbfzaB5APzoGCHhl0Fcmo4tylckcv80U=";
3030
};
3131
aarch64-darwin = {
3232
arch = "darwin-arm64";
33-
hash = "sha256-XgM+0q5BoLORDVQueLABJP5X31iTB7lLv2o7FZH+DFk=";
33+
hash = "sha256-6tFj6Am2SyhF/rHBhQIR7eL866Jq6Vqfl3IKWYu85zY=";
3434
};
3535
}
3636
.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}")
@@ -41,8 +41,8 @@ let
4141
# ideally should be done at the vscode-extensions level for
4242
# everyone to reuse.
4343
roslyn-copilot = fetchzip {
44-
url = "https://roslyn.blob.core.windows.net/releases/Microsoft.VisualStudio.Copilot.Roslyn.LanguageServer-18.0.479-alpha.zip";
45-
hash = "sha256-xq66gY3N3/R9bG6XWqLy53T/ExzGdZi3ZBNEzYAeqM8=";
44+
url = "https://roslyn.blob.core.windows.net/releases/Microsoft.VisualStudio.Copilot.Roslyn.LanguageServer-18.3.72-alpha.zip";
45+
hash = "sha256-Eh1XaF9eCN5saTrIf4NeZZKDeiEvrTo0m+vOiM5QZoI=";
4646
postFetch = ''
4747
touch install.Lock
4848
'';
@@ -52,7 +52,7 @@ vscode-utils.buildVscodeMarketplaceExtension {
5252
mktplcRef = {
5353
name = "csharp";
5454
publisher = "ms-dotnettools";
55-
version = "2.93.22";
55+
version = "2.131.79";
5656
inherit (extInfo) hash arch;
5757
};
5858

@@ -155,7 +155,7 @@ vscode-utils.buildVscodeMarketplaceExtension {
155155
description = "Official C# support for Visual Studio Code";
156156
homepage = "https://github.com/dotnet/vscode-csharp";
157157
license = lib.licenses.unfree;
158-
maintainers = with lib.maintainers; [ ggg ];
158+
maintainers = [ ];
159159
platforms = [
160160
"x86_64-linux"
161161
"aarch64-linux"

pkgs/applications/networking/cluster/terraform-providers/providers.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -652,11 +652,11 @@
652652
"vendorHash": "sha256-GlkqFg9Bgs+Hi59PYAxqq3YW9ji1qeuX4vz59wQ4pRw="
653653
},
654654
"hashicorp_tfe": {
655-
"hash": "sha256-6Qzchshn6T9gHdk6nd2wzDesFTUsGUViwTrBmMue3yI=",
655+
"hash": "sha256-TDDnW6786MGOBuptsIBqPe4/PUHQ3pKeLFqLHex3ObI=",
656656
"homepage": "https://registry.terraform.io/providers/hashicorp/tfe",
657657
"owner": "hashicorp",
658658
"repo": "terraform-provider-tfe",
659-
"rev": "v0.76.0",
659+
"rev": "v0.76.1",
660660
"spdx": "MPL-2.0",
661661
"vendorHash": "sha256-JNTe1RI2aDw86jNzYJqmiBr5BBnr824/DhkJeaMpbKI="
662662
},
@@ -1247,13 +1247,13 @@
12471247
"vendorHash": "sha256-u3WK/pLsuwySJX6GMNho8ImB+F+XXUPC6h+IQtDrOp8="
12481248
},
12491249
"spotinst_spotinst": {
1250-
"hash": "sha256-dZStuj7YjSF9X5/AEkrZyqDT2l2orpV4jY6CJrXjOgA=",
1250+
"hash": "sha256-ow/8K8MXUKG0D5U2ILHImPBzRZwAp5oxybCf5wqbclA=",
12511251
"homepage": "https://registry.terraform.io/providers/spotinst/spotinst",
12521252
"owner": "spotinst",
12531253
"repo": "terraform-provider-spotinst",
1254-
"rev": "v1.232.5",
1254+
"rev": "v1.233.1",
12551255
"spdx": "MPL-2.0",
1256-
"vendorHash": "sha256-Cj7RVITkFxIjAZAqHFhnoTa4lTZFXG22ny801g0Y+NE="
1256+
"vendorHash": "sha256-wcuB0GpsrVajguxa6FQ7jELVdgpZ0chazUKeH0ElVMo="
12571257
},
12581258
"statuscakedev_statuscake": {
12591259
"hash": "sha256-zXBZZA+2uRN2FeGrayq0a4EBk7T+PvlBIwbuxwM7yBc=",

0 commit comments

Comments
 (0)