europa: just use insecure electron

This commit is contained in:
Aaron Bieber 2023-12-30 08:31:59 -07:00
parent dade95ed07
commit 174eec6ab7
No known key found for this signature in database

View File

@ -8,6 +8,7 @@
let let
inherit (inputs.stable.legacyPackages.${pkgs.system}) chirp beets; inherit (inputs.stable.legacyPackages.${pkgs.system}) chirp beets;
inherit (builtins) readFile; inherit (builtins) readFile;
inherit (xinlib) jobToUserService todo;
#myEmacs = pkgs.callPackage ../../configs/emacs.nix { }; #myEmacs = pkgs.callPackage ../../configs/emacs.nix { };
#doom-emacs = inputs.nix-doom-emacs.packages.${pkgs.system}.default.override { #doom-emacs = inputs.nix-doom-emacs.packages.${pkgs.system}.default.override {
# doomPrivateDir = ../../configs/doom.d; # doomPrivateDir = ../../configs/doom.d;
@ -103,7 +104,7 @@ in
nixpkgs.config = { nixpkgs.config = {
allowUnfree = true; allowUnfree = true;
allowUnsupportedSystem = true; allowUnsupportedSystem = true;
permittedInsecurePackages = if (pkgs.obsidian.version == "1.5.3") then [ "electron-25.9.0" ] else [ ]; permittedInsecurePackages = todo "Obsidian is using insecure electron!" [ "electron-25.9.0" ];
}; };
boot = { boot = {
@ -287,7 +288,7 @@ in
systemd = { systemd = {
user.services = user.services =
lib.listToAttrs (builtins.map xinlib.jobToUserService jobs); lib.listToAttrs (builtins.map jobToUserService jobs);
services = { services = {
"whytailscalewhy" = { "whytailscalewhy" = {
description = "Tailscale restart on resume"; description = "Tailscale restart on resume";