From 55547bddc7e0d551fbfe729c7578239ccf8136a1 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 17 Jan 2023 22:25:15 +0800 Subject: [PATCH] hosts/ni: update LDAP-related settings - Add OpenLDAP to the system packages. - Fix the file permission for the LDAP password secret. --- hosts/ni/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/ni/default.nix b/hosts/ni/default.nix index 59fc29f6..15784a55 100644 --- a/hosts/ni/default.nix +++ b/hosts/ni/default.nix @@ -50,7 +50,7 @@ in in getSecrets { ssh-key = { }; - "ldap/password" = { }; + "ldap/password".owner = "nslcd"; "wireguard/private-key" = { group = config.users.users.systemd-network.group; reloadUnits = [ "systemd-networkd.service" ]; @@ -123,6 +123,8 @@ in programs.adb.enable = true; environment.systemPackages = with pkgs; [ + openldap + (swh.swh-core.overrideAttrs (super: self: { pythonPath = with swh; [ swh-fuse