|
|
@ -134,15 +134,18 @@
|
|
|
|
; 1) need to create user directory on login
|
|
|
|
; 1) need to create user directory on login
|
|
|
|
; 2) need to have /bin/zsh available to use as shell
|
|
|
|
; 2) need to have /bin/zsh available to use as shell
|
|
|
|
|
|
|
|
|
|
|
|
(define %metznet-desktop-services
|
|
|
|
(define %metznet-nslcd-config (nslcd-configuration
|
|
|
|
(append (list (service openssh-service-type)
|
|
|
|
(base "dc=metznet,dc=ca")
|
|
|
|
(service krb5-service-type %metznet-krb5-config)
|
|
|
|
|
|
|
|
(service nslcd-service-type (nslcd-configuration (base "dc=metznet,dc=ca")
|
|
|
|
|
|
|
|
(log '("/var/log/nslcd" debug))
|
|
|
|
(log '("/var/log/nslcd" debug))
|
|
|
|
(pam-services (list "su" "login" "password" "ssh" "passwd"))
|
|
|
|
(pam-services (list "su" "login" "password" "ssh" "passwd"))
|
|
|
|
(binddn (or (getenv "LDAP_BINDDN") ""))
|
|
|
|
(binddn (or (getenv "LDAP_BINDDN") ""))
|
|
|
|
(bindpw (or (getenv "LDAP_BINDPW") ""))
|
|
|
|
(bindpw (or (getenv "LDAP_BINDPW") ""))
|
|
|
|
(uri (list "ldap://ldap.metznet.ca")))))
|
|
|
|
(uri (list "ldap://ldap.metznet.ca"))))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define %metznet-desktop-services
|
|
|
|
|
|
|
|
(append (list (service openssh-service-type)
|
|
|
|
|
|
|
|
(service krb5-service-type %metznet-krb5-config)
|
|
|
|
|
|
|
|
(service nslcd-service-type %metznet-nslcd-config))
|
|
|
|
(modify-services %desktop-services
|
|
|
|
(modify-services %desktop-services
|
|
|
|
(guix-service-type config => (guix-configuration
|
|
|
|
(guix-service-type config => (guix-configuration
|
|
|
|
(inherit config)
|
|
|
|
(inherit config)
|
|
|
@ -171,6 +174,7 @@
|
|
|
|
(define %metznet-server-services (append (list
|
|
|
|
(define %metznet-server-services (append (list
|
|
|
|
(service openssh-service-type)
|
|
|
|
(service openssh-service-type)
|
|
|
|
(service krb5-service-type %metznet-krb5-config)
|
|
|
|
(service krb5-service-type %metznet-krb5-config)
|
|
|
|
|
|
|
|
(service nslcd-service-type %metznet-nslcd-config)
|
|
|
|
(service dhcp-client-service-type)
|
|
|
|
(service dhcp-client-service-type)
|
|
|
|
(openvpn-client-service
|
|
|
|
(openvpn-client-service
|
|
|
|
#:config (openvpn-client-configuration
|
|
|
|
#:config (openvpn-client-configuration
|
|
|
|