treewide: fix eval fallout from nixpkgs bump
This commit is contained in:
parent
8e65f7f0cc
commit
34fa21a171
6 changed files with 42 additions and 42 deletions
|
@ -14,7 +14,7 @@ in
|
|||
{
|
||||
heptapod-runner = pkgs.gitlab-runner.overrideAttrs (oldAttrs: rec {
|
||||
inherit version;
|
||||
buildInputs = oldAttrs.buildInputs ++ [ pkgs.makeWrapper ];
|
||||
buildInputs = (oldAttrs.buildInputs or []) ++ [ pkgs.makeWrapper ];
|
||||
src = newSrc;
|
||||
patches = [ ./fix-shell-path.patch ];
|
||||
});
|
||||
|
|
|
@ -24,6 +24,7 @@ let
|
|||
|
||||
configuration = {
|
||||
imports = [ value ];
|
||||
config._module.args.pkgs = lib.mkForce pkgs;
|
||||
config.nixpkgs.config = pkgs.config;
|
||||
config.home.sessionVariablesExtra = ''
|
||||
export PATH="$HOME/.nix-profile/bin''${PATH:+:}$PATH"
|
||||
|
|
|
@ -119,45 +119,45 @@ in {
|
|||
};
|
||||
services.matrix-synapse = {
|
||||
enable = true;
|
||||
server_name = "zxcvbnm.ninja";
|
||||
macaroon_secret_key = machineSecrets.matrix.macaroonSecretKey;
|
||||
registration_shared_secret = machineSecrets.matrix.registrationSecret;
|
||||
turn_uris = [
|
||||
"turns:matrix.zxcvbnm.ninja:3478?transport=udp"
|
||||
"turns:matrix.zxcvbnm.ninja:3478?transport=tcp"
|
||||
"turn:matrix.zxcvbnm.ninja:3478?transport=udp"
|
||||
"turn:matrix.zxcvbnm.ninja:3478?transport=tcp"
|
||||
];
|
||||
turn_shared_secret = machineSecrets.turnSecret;
|
||||
public_baseurl = "https://matrix.zxcvbnm.ninja/";
|
||||
url_preview_enabled = true;
|
||||
url_preview_ip_range_blacklist = [
|
||||
"127.0.0.0/8"
|
||||
"10.0.0.0/8"
|
||||
"172.16.0.0/12"
|
||||
"192.168.0.0/16"
|
||||
"100.64.0.0/10"
|
||||
"169.254.0.0/16"
|
||||
"::1/128"
|
||||
"fe80::/64"
|
||||
"fc00::/7"
|
||||
];
|
||||
listeners = [{
|
||||
port = 8008;
|
||||
bind_address = "::1";
|
||||
type = "http";
|
||||
tls = false;
|
||||
x_forwarded = true;
|
||||
resources = [{
|
||||
names = [ "client" "federation" ];
|
||||
compress = false;
|
||||
settings = {
|
||||
server_name = "zxcvbnm.ninja";
|
||||
url_preview_enabled = true;
|
||||
url_preview_ip_range_blacklist = [
|
||||
"127.0.0.0/8"
|
||||
"10.0.0.0/8"
|
||||
"172.16.0.0/12"
|
||||
"192.168.0.0/16"
|
||||
"100.64.0.0/10"
|
||||
"169.254.0.0/16"
|
||||
"::1/128"
|
||||
"fe80::/64"
|
||||
"fc00::/7"
|
||||
];
|
||||
listeners = [{
|
||||
port = 8008;
|
||||
bind_addresses = [ "::1" ];
|
||||
type = "http";
|
||||
tls = false;
|
||||
x_forwarded = true;
|
||||
resources = [{
|
||||
names = [ "client" "federation" ];
|
||||
compress = false;
|
||||
}];
|
||||
}];
|
||||
}];
|
||||
extraConfig = ''
|
||||
form_secret: "${machineSecrets.matrix.formSecret}"
|
||||
experimental_features:
|
||||
spaces_enabled: true
|
||||
'';
|
||||
turn_uris = [
|
||||
"turns:matrix.zxcvbnm.ninja:3478?transport=udp"
|
||||
"turns:matrix.zxcvbnm.ninja:3478?transport=tcp"
|
||||
"turn:matrix.zxcvbnm.ninja:3478?transport=udp"
|
||||
"turn:matrix.zxcvbnm.ninja:3478?transport=tcp"
|
||||
];
|
||||
experimental_features.spaces_enabled = true;
|
||||
public_baseurl = "https://matrix.zxcvbnm.ninja/";
|
||||
|
||||
macaroon_secret_key = machineSecrets.matrix.macaroonSecretKey;
|
||||
registration_shared_secret = machineSecrets.matrix.registrationSecret;
|
||||
turn_shared_secret = machineSecrets.turnSecret;
|
||||
form_secret = machineSecrets.matrix.formSecret;
|
||||
};
|
||||
};
|
||||
|
||||
# Users allowed to use SSL certificate for matrix.zxcvbnm.ninja.
|
||||
|
|
|
@ -8,6 +8,7 @@ let
|
|||
baseModule = name: { ... }: {
|
||||
_module.args = args // {
|
||||
rebuilder = rebuilder name;
|
||||
pkgs = lib.mkForce pkgs;
|
||||
};
|
||||
};
|
||||
systemFor = systemName: config:
|
||||
|
|
|
@ -28,8 +28,6 @@ in
|
|||
alsa.support32Bit = true;
|
||||
jack.enable = true;
|
||||
pulse.enable = true;
|
||||
|
||||
media-session.enable = true;
|
||||
};
|
||||
security.rtkit.enable = true;
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ in
|
|||
depot.nix.pkgs.common-updater-scripts
|
||||
go
|
||||
gopls
|
||||
goimports
|
||||
gotools
|
||||
graphicsmagick-imagemagick-compat
|
||||
vault
|
||||
youtube-dl
|
||||
|
|
Loading…
Reference in a new issue