update nixpkgs
This commit is contained in:
parent
ba0efae5ff
commit
6038205427
@ -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;
|
||||
|
@ -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}"
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user