PAM : changement de type
This commit is contained in:
parent
8665a404ff
commit
2e41aca1b5
|
@ -61,7 +61,7 @@ KERNEL==\"sd?1\", ATTRS{idVendor}==\"20a0\", ATTRS{idProduct}==\"4109\", SYMLINK
|
||||||
|
|
||||||
;; Application de la configuration sudoer personnalisée (définie plus haut)
|
;; Application de la configuration sudoer personnalisée (définie plus haut)
|
||||||
(kernel-arguments
|
(kernel-arguments
|
||||||
(list "modprobe.blacklist=pcspkr,usbmouse,usbkbd" "iommu=pt"))
|
(list "modprobe.blacklist=pcspkr,usbmouse,usbkbd" "iommu=pt" "nouveau.config=NvClkMode=15"))
|
||||||
|
|
||||||
(initrd-modules (append (list "vfio-pci" "vfio_iommu_type1" "dm-raid" "dm-cache" "dm-crypt") %base-initrd-modules))
|
(initrd-modules (append (list "vfio-pci" "vfio_iommu_type1" "dm-raid" "dm-cache" "dm-crypt") %base-initrd-modules))
|
||||||
|
|
||||||
|
@ -117,11 +117,14 @@ KERNEL==\"sd?1\", ATTRS{idVendor}==\"20a0\", ATTRS{idProduct}==\"4109\", SYMLINK
|
||||||
(x11-forwarding? #t)
|
(x11-forwarding? #t)
|
||||||
(permit-root-login 'prohibit-password)))
|
(permit-root-login 'prohibit-password)))
|
||||||
|
|
||||||
|
;; Service impression et scanner
|
||||||
(service cups-service-type
|
(service cups-service-type
|
||||||
(cups-configuration
|
(cups-configuration
|
||||||
(web-interface? #t)
|
(web-interface? #t)
|
||||||
(extensions
|
(extensions
|
||||||
(list cups-filters epson-inkjet-printer-escpr hplip-minimal))))
|
(list cups-filters epson-inkjet-printer-escpr hplip-minimal))))
|
||||||
|
|
||||||
|
(service sane-service-type)
|
||||||
|
|
||||||
;; Service KVM/Libvirt pour virt-manager
|
;; Service KVM/Libvirt pour virt-manager
|
||||||
(service libvirt-service-type)
|
(service libvirt-service-type)
|
||||||
|
@ -132,7 +135,7 @@ KERNEL==\"sd?1\", ATTRS{idVendor}==\"20a0\", ATTRS{idProduct}==\"4109\", SYMLINK
|
||||||
|
|
||||||
;; Modification des limites mémoires pour les accès audio temps réel
|
;; Modification des limites mémoires pour les accès audio temps réel
|
||||||
;; (utile notamment pour Ardour)
|
;; (utile notamment pour Ardour)
|
||||||
(pam-limits-service
|
(service pam-limits-service-type
|
||||||
(list
|
(list
|
||||||
(pam-limits-entry "@audio" 'both 'rtprio 99)
|
(pam-limits-entry "@audio" 'both 'rtprio 99)
|
||||||
(pam-limits-entry "@audio" 'both 'memlock 'unlimited)))
|
(pam-limits-entry "@audio" 'both 'memlock 'unlimited)))
|
||||||
|
|
Loading…
Reference in New Issue