add paheko
This commit is contained in:
parent
d937151609
commit
4849ff0f52
25
config.scm
25
config.scm
|
@ -73,7 +73,8 @@
|
|||
xorg
|
||||
virtualization
|
||||
vpn
|
||||
security-token)
|
||||
security-token
|
||||
web)
|
||||
|
||||
;; Paquets personnalisés
|
||||
|
||||
|
@ -656,12 +657,14 @@ fi"))
|
|||
"ruby-pygmentize"
|
||||
"screen"
|
||||
"perl-digest-sha"
|
||||
"php"
|
||||
"strace"
|
||||
"seahorse"
|
||||
"setxkbmap"
|
||||
"simplescreenrecorder"
|
||||
"sl"
|
||||
"speedtest-cli"
|
||||
;"sqlite"
|
||||
"sqlitebrowser"
|
||||
"sshpass"
|
||||
"system-config-printer"
|
||||
|
@ -739,6 +742,26 @@ fi"))
|
|||
(extensions
|
||||
(list cups-filters epson-inkjet-printer-escpr hplip-minimal))))
|
||||
|
||||
;; Service FastCGI/PHP
|
||||
(service php-fpm-service-type)
|
||||
|
||||
;; Service de serveur HTTP
|
||||
(service nginx-service-type
|
||||
(nginx-configuration
|
||||
(server-blocks
|
||||
(list
|
||||
(nginx-server-configuration
|
||||
(listen '("127.0.0.1:81"))
|
||||
(root "/srv/paheko-1.3.12/www")
|
||||
(locations
|
||||
(list
|
||||
(nginx-location-configuration
|
||||
(uri "/")
|
||||
(body
|
||||
'("try_files $uri $uri/ /_route.php?$query_string;"
|
||||
"index index.php /_route.php;")))
|
||||
(nginx-php-location))))))))
|
||||
|
||||
;; Application de la configuration udev personnalisée
|
||||
(udev-rules-service 'plugdev %nk3-rules #:groups '("plugdev"))
|
||||
|
||||
|
|
Loading…
Reference in New Issue