From 6038205427ca7d18722ea25a10bd37ec4ed61c77 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sat, 12 Oct 2024 22:43:18 +0200 Subject: [PATCH] update nixpkgs --- configuration.nix | 4 ++-- custom/modules/nixpkgs.nix | 2 +- matrix.nix | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index 6bf91c8..b998409 100644 --- a/configuration.nix +++ b/configuration.nix @@ -23,8 +23,8 @@ system.stateVersion = "23.05"; nixpkgs.source = builtins.fetchTarball - { url = "https://github.com/NixOS/nixpkgs/archive/63d37ccd2d17.tar.gz"; - sha256 = "0ymvnql1sxij93q0f88dv5877mx32pldz77w72vmzayxwkrq5h7d"; + { url = "https://github.com/NixOS/nixpkgs/archive/c505ebf77752.tar.gz"; + sha256 = "0sk76hr3l7gd85aa3j9y5j1napvx18xb762fdqz3ibf717s8br5g"; }; boot.kernelPackages = pkgs.linuxPackages_latest; diff --git a/custom/modules/nixpkgs.nix b/custom/modules/nixpkgs.nix index d40c7d5..b671cbd 100644 --- a/custom/modules/nixpkgs.nix +++ b/custom/modules/nixpkgs.nix @@ -28,7 +28,7 @@ in }; config = - { nixpkgs.pkgs = import nixpkgs { overlays = [ rebuild ]; }; + { nixpkgs.overlays = [ rebuild ]; nix.nixPath = [ "nixpkgs=/run/current-system/nixpkgs" "nixos-config=${conf}" diff --git a/matrix.nix b/matrix.nix index f988521..1642cbe 100644 --- a/matrix.nix +++ b/matrix.nix @@ -169,6 +169,9 @@ in # allow synapse to read the shared secrets users.users.matrix-synapse.extraGroups = [ "mautrix-whatsapp" ]; + # Allow olm for mautrix-whatsapp + nixpkgs.config.permittedInsecurePackages = [ "olm-3.2.16" ]; + services.mautrix-whatsapp = { enable = true;