update nixpkgs

This commit is contained in:
Michele Guerini Rocco 2024-10-12 22:43:18 +02:00
parent ba0efae5ff
commit 6038205427
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450
3 changed files with 6 additions and 3 deletions

View File

@ -23,8 +23,8 @@
system.stateVersion = "23.05"; system.stateVersion = "23.05";
nixpkgs.source = builtins.fetchTarball nixpkgs.source = builtins.fetchTarball
{ url = "https://github.com/NixOS/nixpkgs/archive/63d37ccd2d17.tar.gz"; { url = "https://github.com/NixOS/nixpkgs/archive/c505ebf77752.tar.gz";
sha256 = "0ymvnql1sxij93q0f88dv5877mx32pldz77w72vmzayxwkrq5h7d"; sha256 = "0sk76hr3l7gd85aa3j9y5j1napvx18xb762fdqz3ibf717s8br5g";
}; };
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;

View File

@ -28,7 +28,7 @@ in
}; };
config = config =
{ nixpkgs.pkgs = import nixpkgs { overlays = [ rebuild ]; }; { nixpkgs.overlays = [ rebuild ];
nix.nixPath = nix.nixPath =
[ "nixpkgs=/run/current-system/nixpkgs" [ "nixpkgs=/run/current-system/nixpkgs"
"nixos-config=${conf}" "nixos-config=${conf}"

View File

@ -169,6 +169,9 @@ in
# allow synapse to read the shared secrets # allow synapse to read the shared secrets
users.users.matrix-synapse.extraGroups = [ "mautrix-whatsapp" ]; users.users.matrix-synapse.extraGroups = [ "mautrix-whatsapp" ];
# Allow olm for mautrix-whatsapp
nixpkgs.config.permittedInsecurePackages = [ "olm-3.2.16" ];
services.mautrix-whatsapp = services.mautrix-whatsapp =
{ {
enable = true; enable = true;