From 174eec6ab767206465f5a5939916c38c1fbe8bdc Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Sat, 30 Dec 2023 08:31:59 -0700 Subject: [PATCH] europa: just use insecure electron --- hosts/europa/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/europa/default.nix b/hosts/europa/default.nix index 5f7bf6d..03b5cb2 100644 --- a/hosts/europa/default.nix +++ b/hosts/europa/default.nix @@ -8,6 +8,7 @@ let inherit (inputs.stable.legacyPackages.${pkgs.system}) chirp beets; inherit (builtins) readFile; + inherit (xinlib) jobToUserService todo; #myEmacs = pkgs.callPackage ../../configs/emacs.nix { }; #doom-emacs = inputs.nix-doom-emacs.packages.${pkgs.system}.default.override { # doomPrivateDir = ../../configs/doom.d; @@ -103,7 +104,7 @@ in nixpkgs.config = { allowUnfree = 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 = { @@ -287,7 +288,7 @@ in systemd = { user.services = - lib.listToAttrs (builtins.map xinlib.jobToUserService jobs); + lib.listToAttrs (builtins.map jobToUserService jobs); services = { "whytailscalewhy" = { description = "Tailscale restart on resume";