mirror of
https://github.com/Alexandre1a/NixOSDots.git
synced 2026-03-10 00:09:46 +01:00
Created a overlay for vesktop to prevent signing
This commit is contained in:
parent
636e1d3c38
commit
b6e9bf04d0
@ -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
|
||||
];
|
||||
|
||||
@ -20,8 +20,5 @@
|
||||
cmatrix
|
||||
gh
|
||||
];
|
||||
variable = {
|
||||
ELECTRON_BUILDER_DISABLE_SIGNING = "true";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
13
modules/macos/vesktop.nix
Normal file
13
modules/macos/vesktop.nix
Normal 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";
|
||||
};
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user