|
|
|
@ -15,6 +15,8 @@
|
|
|
|
|
#:use-module (gnu services kerberos)
|
|
|
|
|
#:use-module (metznet services sssd)
|
|
|
|
|
#:use-module (gnu services base)
|
|
|
|
|
#:use-module (gnu services sddm)
|
|
|
|
|
#:use-module (gnu services xorg)
|
|
|
|
|
#:use-module (gnu services)
|
|
|
|
|
#:use-module (gnu services desktop)
|
|
|
|
|
#:use-module (gnu services networking)
|
|
|
|
@ -174,7 +176,7 @@
|
|
|
|
|
"user shells to link")
|
|
|
|
|
(pam-services (list-of-strings (list
|
|
|
|
|
"su"
|
|
|
|
|
"gdm-password"
|
|
|
|
|
"sddm"
|
|
|
|
|
"login"
|
|
|
|
|
"sshd"
|
|
|
|
|
"passwd"))
|
|
|
|
@ -232,10 +234,15 @@
|
|
|
|
|
(sssd-configuration (domains (list (cons "metznet.ca"
|
|
|
|
|
(sssd-domain-configuration (id_provider
|
|
|
|
|
"ldap")
|
|
|
|
|
(debug_level "10")
|
|
|
|
|
(auth_provider
|
|
|
|
|
"ldap")
|
|
|
|
|
(cache_credentials
|
|
|
|
|
#t)
|
|
|
|
|
(ldap_group_member
|
|
|
|
|
"member")
|
|
|
|
|
(ldap_group_object_class
|
|
|
|
|
"posixGroupAux")
|
|
|
|
|
(ldap_uri
|
|
|
|
|
"ldaps://ldap.metznet.ca")
|
|
|
|
|
(ldap_tls_reqcert
|
|
|
|
@ -342,16 +349,10 @@
|
|
|
|
|
%nscd-default-caches))))
|
|
|
|
|
|
|
|
|
|
(define %metznet-desktop-services
|
|
|
|
|
(append %metznet-services
|
|
|
|
|
(append %metznet-services (list (service sddm-service-type (sddm-configuration)))
|
|
|
|
|
(modify-services %desktop-services
|
|
|
|
|
(delete gdm-service-type)
|
|
|
|
|
(nscd-service-type config => %metznet-nscd-configuration)
|
|
|
|
|
(udev-service-type config =>
|
|
|
|
|
(udev-configuration (inherit config)
|
|
|
|
|
(rules (append (list
|
|
|
|
|
%tun-udev-rule
|
|
|
|
|
%backlight-udev-rule)
|
|
|
|
|
(udev-configuration-rules
|
|
|
|
|
config)))))
|
|
|
|
|
(network-manager-service-type config =>
|
|
|
|
|
(network-manager-configuration (inherit
|
|
|
|
|
config)
|
|
|
|
|