From 7febd46001ad60e6b7ac908b37d051d20519d33b Mon Sep 17 00:00:00 2001 From: Jan Grosser Date: Sun, 16 Jun 2024 21:58:52 +0200 Subject: [PATCH] 2024-06-16 update System update on 2024-06-16 I had to allow to insall EOL electron which is a dependency for logseq, see: https://discourse.nixos.org/t/electron-complaining-it-is-eol-but-what-is-requiring-it/34700. I added a section to allow certain "unsafe" packages in configuration.nix. It only worked when I specified the package with the version number. --- flake.lock | 28 ++++++++++++++-------------- hosts/p14s/configuration.nix | 5 +++++ 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/flake.lock b/flake.lock index 819d2bb..cc4f716 100644 --- a/flake.lock +++ b/flake.lock @@ -101,15 +101,15 @@ "base16-vim": { "flake": false, "locked": { - "lastModified": 1663659192, - "narHash": "sha256-uJvaYYDMXvoo0fhBZUhN8WBXeJ87SRgof6GEK2efFT0=", - "owner": "chriskempson", + "lastModified": 1716150083, + "narHash": "sha256-ZMhnNmw34ogE5rJZrjRv5MtG3WaqKd60ds2VXvT6hEc=", + "owner": "tinted-theming", "repo": "base16-vim", - "rev": "3be3cd82cd31acfcab9a41bad853d9c68d30478d", + "rev": "6e955d704d046b0dc3e5c2d68a2a6eeffd2b5d3d", "type": "github" }, "original": { - "owner": "chriskempson", + "owner": "tinted-theming", "repo": "base16-vim", "type": "github" } @@ -170,11 +170,11 @@ ] }, "locked": { - "lastModified": 1717931644, - "narHash": "sha256-Sz8Wh9cAiD5FhL8UWvZxBfnvxETSCVZlqWSYWaCPyu0=", + "lastModified": 1718526747, + "narHash": "sha256-sKrD/utGvmtQALvuDj4j0CT3AJXP1idOAq2p+27TpeE=", "owner": "nix-community", "repo": "home-manager", - "rev": "3d65009effd77cb0d6e7520b68b039836a7606cf", + "rev": "0a7ffb28e5df5844d0e8039c9833d7075cdee792", "type": "github" }, "original": { @@ -206,11 +206,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1717786204, - "narHash": "sha256-4q0s6m0GUcN7q+Y2DqD27iLvbcd1G50T2lv08kKxkSI=", + "lastModified": 1718318537, + "narHash": "sha256-4Zu0RYRcAY/VWuu6awwq4opuiD//ahpc2aFHg2CWqFY=", "owner": "nixos", "repo": "nixpkgs", - "rev": "051f920625ab5aabe37c920346e3e69d7d34400e", + "rev": "e9ee548d90ff586a6471b4ae80ae9cfcbceb3420", "type": "github" }, "original": { @@ -258,11 +258,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1718292734, - "narHash": "sha256-XAwxzCDfExqIj0PIjEpjt3eOzsosxOCLx6sQWHPSrSg=", + "lastModified": 1718546905, + "narHash": "sha256-FmtNOW6Ng11TTgsXkQLqBcIE0j2SmlydHXu/DnWlS4k=", "owner": "danth", "repo": "stylix", - "rev": "73c6955b4572346cc10f43a459949fe646efbde0", + "rev": "80e8e1e2f613bdc8749461899f0959312eb4a54e", "type": "github" }, "original": { diff --git a/hosts/p14s/configuration.nix b/hosts/p14s/configuration.nix index cdaa9cb..cb7c447 100644 --- a/hosts/p14s/configuration.nix +++ b/hosts/p14s/configuration.nix @@ -119,6 +119,11 @@ # Allow unfree packages nixpkgs.config.allowUnfree = true; + # Temporarily allow certain unsafe packages + nixpkgs.config.permittedInsecurePackages = [ + "electron-27.3.11" # 2024-06-16: EOL electron for logseq + ]; + # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [