[Draft] Basic LDAP/Portunus config #12
|
@ -1,4 +1,5 @@
|
|||
potential security risk potential security risk
should be nix path should be nix path
|
||||
{config, ...}: let
|
||||
potential security risk potential security risk
should be nix path should be nix path
|
||||
{ config, ... }:
|
||||
potential security risk potential security risk
should be nix path should be nix path
|
||||
let
|
||||
potential security risk potential security risk
should be nix path should be nix path
|
||||
# temporary url, zum testen auf laptop zuhause
|
||||
tld = "moe";
|
||||
hostname = "eisvogel";
|
||||
|
@ -9,7 +10,8 @@
|
|||
potential security risk potential security risk
should be nix path should be nix path
potential security risk potential security risk
should be nix path should be nix path
|
||||
|
||||
ldapUser = "openldap";
|
||||
ldapGroup = "openldap";
|
||||
in {
|
||||
potential security risk potential security risk
should be nix path should be nix path
|
||||
in
|
||||
potential security risk potential security risk
should be nix path should be nix path
|
||||
{
|
||||
potential security risk potential security risk
should be nix path should be nix path
|
||||
users.users."${portunusUser}" = {
|
||||
isSystemUser = true;
|
||||
group = "${portunusGroup}";
|
||||
|
@ -17,7 +19,7 @@ in {
|
|||
potential security risk potential security risk
should be nix path should be nix path
potential security risk potential security risk
should be nix path should be nix path
|
||||
|
||||
users.groups."${portunusGroup}" = {
|
||||
name = "${portunusGroup}";
|
||||
members = ["${portunusUser}"];
|
||||
potential security risk potential security risk
should be nix path should be nix path
|
||||
members = [ "${portunusUser}" ];
|
||||
potential security risk potential security risk
should be nix path should be nix path
|
||||
};
|
||||
|
||||
users.users."${ldapUser}" = {
|
||||
|
@ -27,7 +29,7 @@ in {
|
|||
potential security risk potential security risk
should be nix path should be nix path
potential security risk potential security risk
should be nix path should be nix path
|
||||
|
||||
users.groups."${ldapGroup}" = {
|
||||
name = "${ldapGroup}";
|
||||
members = ["${ldapUser}"];
|
||||
potential security risk potential security risk
should be nix path should be nix path
|
||||
members = [ "${ldapUser}" ];
|
||||
potential security risk potential security risk
should be nix path should be nix path
|
||||
};
|
||||
|
||||
# TODO: eigenes secrets.yaml für seedfile?
|
||||
|
|
|||
potential security risk potential security risk
should be nix path should be nix path
potential security risk potential security risk
should be nix path should be nix path
|
potential security risk
should be nix path