Created a overlay for vesktop to prevent signing

This commit is contained in:
Alexandre1a 2026-01-31 19:31:10 +01:00
parent 636e1d3c38
commit b6e9bf04d0
No known key found for this signature in database
GPG Key ID: CE01C28FBC5EEF10
4 changed files with 17 additions and 5 deletions

View File

@ -4,6 +4,7 @@
# Enpty file for future imports
imports = [
../../modules/common/nix.nix
../../modules/macos/vesktop.nix
#../../modules/macos/ollama.nix
../../modules/common/direnv.nix
];

View File

@ -20,8 +20,5 @@
cmatrix
gh
];
variable = {
ELECTRON_BUILDER_DISABLE_SIGNING = "true";
};
};
}

13
modules/macos/vesktop.nix Normal file
View File

@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
nixpkgs.overlays = [
(final: prev: {
vesktop = prev.vesktop.overrideAttrs (old: {
env = (old.env or {}) // {
ELECTRON_BUILDER_DISABLE_SIGNING = "true";
};
});
})
];
}

1
result Symbolic link
View File

@ -0,0 +1 @@
/nix/store/5ms9zv30l2wwddv0bmxzwisjs6998hzk-vesktop-1.6.3