chore(3p/sources): Bump channels and overlays

Changes:

* updated keycloak configuration for new version
* migrate to emacs28 outside of //users, re-add emacs27 but with a
  warning attached urging people to migrate

Change-Id: I3e5765a63934541f72f6c4a8673d3b4671850c93
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5501
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: wpcarro <wpcarro@gmail.com>
This commit is contained in:
Vincent Ambo 2022-04-21 16:36:04 +02:00 committed by clbot
parent 95cfd6630b
commit c05c4995ab
7 changed files with 27 additions and 30 deletions

View file

@ -1,6 +1,6 @@
{ depot, pkgs, ... }: { depot, pkgs, ... }:
{ name, src, deps ? (_: [ ]), emacs ? pkgs.emacs27-nox }: { name, src, deps ? (_: [ ]), emacs ? pkgs.emacs28-nox }:
let let
inherit (pkgs) emacsPackages emacsPackagesFor; inherit (pkgs) emacsPackages emacsPackagesFor;

View file

@ -604,25 +604,18 @@ in
services.keycloak = { services.keycloak = {
enable = true; enable = true;
httpPort = "5925"; # "kycl" httpPort = "5925"; # "kycl"
frontendUrl = "https://auth.tvl.fyi/auth/";
settings = {
hostname = "auth.tvl.fyi";
http-relative-path = "/auth";
proxy = "edge";
};
database = { database = {
type = "postgresql"; type = "postgresql";
passwordFile = "/run/agenix/keycloak-db"; passwordFile = "/run/agenix/keycloak-db";
createLocally = false; createLocally = false;
}; };
# Configure Keycloak to look at forwarded headers from the reverse
# proxy.
extraConfig = {
"subsystem=undertow" = {
"server=default-server" = {
"http-listener=default" = {
proxy-address-forwarding = "true";
};
};
};
};
}; };
# Allow Keycloak access to the LDAP module by forcing in the JVM # Allow Keycloak access to the LDAP module by forcing in the JVM

View file

@ -31,6 +31,10 @@ let
# This is too hard to debug right now, lets hope somebody else solves it for us. # This is too hard to debug right now, lets hope somebody else solves it for us.
alacritty-stable = stableNixpkgs.alacritty; alacritty-stable = stableNixpkgs.alacritty;
# emacs27 is gone from unstable, but people should upgrade at
# their own pace.
emacs27 = builtins.trace "emacs27 is deprecated, please migrate to emacs28"
stableNixpkgs.emacs27;
}; };
# Overlay to expose the nixpkgs commits we are using to other Nix code. # Overlay to expose the nixpkgs commits we are using to other Nix code.

View file

@ -5,10 +5,10 @@
"homepage": "", "homepage": "",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "d0ef2cfa729bab6adacf6461d48a4fb83618c047", "rev": "34d35051f15a98eddc78378e31ebbf9a82fc1f47",
"sha256": "0lbbnv28jaiswxxbnn4w8fgcp55zlppf6h7zfkwwwpr55fxp6nfb", "sha256": "083j3nc0slzblmgaw89bmz3498gc9ixqlrmv0vry7z5z49cwk337",
"type": "tarball", "type": "tarball",
"url": "https://github.com/nix-community/emacs-overlay/archive/d0ef2cfa729bab6adacf6461d48a4fb83618c047.tar.gz", "url": "https://github.com/nix-community/emacs-overlay/archive/34d35051f15a98eddc78378e31ebbf9a82fc1f47.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"nixpkgs": { "nixpkgs": {
@ -17,10 +17,10 @@
"homepage": "", "homepage": "",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5181d5945eda382ff6a9ca3e072ed6ea9b547fee", "rev": "1ffba9f2f683063c2b14c9f4d12c55ad5f4ed887",
"sha256": "1hljcdmvl2kwlq68pyhlc2g5dswdgb6by9m1pppcdm3a86fhinvh", "sha256": "1zx5zvpvqrgk5mfxzmwf8gd270lz7dkfk563sccp1xlhac15cipg",
"type": "tarball", "type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/5181d5945eda382ff6a9ca3e072ed6ea9b547fee.tar.gz", "url": "https://github.com/NixOS/nixpkgs/archive/1ffba9f2f683063c2b14c9f4d12c55ad5f4ed887.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
@ -29,10 +29,10 @@
"homepage": "", "homepage": "",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2f06b87f64bc06229e05045853e0876666e1b023", "rev": "9887f024766aa27704d1f89f623efd1d063da92a",
"sha256": "1d7zg96xw4qsqh7c89pgha9wkq3rbi9as3k3d88jlxy2z0ns0cy2", "sha256": "07fgr087sir8ra1v9icp2011f1s2iqlclyinxy0jrlawyz9rz4h2",
"type": "tarball", "type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/2f06b87f64bc06229e05045853e0876666e1b023.tar.gz", "url": "https://github.com/NixOS/nixpkgs/archive/9887f024766aa27704d1f89f623efd1d063da92a.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}, },
"rustsec-advisory-db": { "rustsec-advisory-db": {
@ -41,10 +41,10 @@
"homepage": "https://rustsec.org", "homepage": "https://rustsec.org",
"owner": "RustSec", "owner": "RustSec",
"repo": "advisory-db", "repo": "advisory-db",
"rev": "ce150ef8cbed58f21f235c267cd5f501ffa56756", "rev": "b2ba503c747d041d02eeef6b9477664aefcc97fb",
"sha256": "11fmzfnawg2prjl4s8z1p7xans3pnpb4gy91v0qcq3fskhsldahr", "sha256": "1dkx8mz8bpxqf750ckhmpa4xjr29b8x8xrydw770lfnd4k3nhxj6",
"type": "tarball", "type": "tarball",
"url": "https://github.com/RustSec/advisory-db/archive/ce150ef8cbed58f21f235c267cd5f501ffa56756.tar.gz", "url": "https://github.com/RustSec/advisory-db/archive/b2ba503c747d041d02eeef6b9477664aefcc97fb.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz" "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
} }
} }

View file

@ -138,7 +138,7 @@ lib.fix (self: {
bat bat
curl curl
direnv direnv
emacs27-nox emacs28-nox
fswebcam fswebcam
git git
gnupg gnupg

View file

@ -227,7 +227,7 @@ lib.fix (self: {
curl curl
direnv direnv
dnsutils dnsutils
emacs27 # mostly for emacsclient emacs28 # mostly for emacsclient
exa exa
fd fd
file file

View file

@ -3,7 +3,7 @@
# TODO(wpcarro): See if it's possible to expose emacsclient on PATH, so that I # TODO(wpcarro): See if it's possible to expose emacsclient on PATH, so that I
# don't need to depend on wpcarros-emacs and emacs in my NixOS configurations. # don't need to depend on wpcarros-emacs and emacs in my NixOS configurations.
let let
inherit (depot.third_party.nixpkgs) emacsPackagesFor emacs27; inherit (depot.third_party.nixpkgs) emacsPackagesFor emacs28;
inherit (depot.users) wpcarro; inherit (depot.users) wpcarro;
inherit (lib) mapAttrsToList; inherit (lib) mapAttrsToList;
inherit (lib.strings) concatStringsSep makeBinPath; inherit (lib.strings) concatStringsSep makeBinPath;
@ -21,7 +21,7 @@ let
]) ])
); );
emacsWithPackages = (emacsPackagesFor emacs27).emacsWithPackages; emacsWithPackages = (emacsPackagesFor emacs28).emacsWithPackages;
wpcarrosEmacs = emacsWithPackages (epkgs: wpcarrosEmacs = emacsWithPackages (epkgs:
(with epkgs.tvlPackages; [ (with epkgs.tvlPackages; [