mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
15 lines
531 B
Nix
15 lines
531 B
Nix
{runCommand}:
|
|
runCommand "configs" {} ''
|
|
mkdir -p $out/etc
|
|
mkdir -p $out/etc/sudoers.d
|
|
mkdir -p $out/conf
|
|
cp ${./configs/cron.conf} $out/etc/oc-cron.conf
|
|
cp ${./configs/nginx-app.conf} $out/conf/nginx-app.conf
|
|
cp ${./configs/sudoers} $out/etc/sudoers.d/haze
|
|
cp -r ${./configs/nc} $out/etc/nc
|
|
cp ${./configs/php-fpm.conf} $out/etc/php-fpm.conf
|
|
cp ${./configs/nginx.conf} $out/etc/nginx.conf
|
|
cp -r ${./configs/supervisor} $out/etc/supervisor
|
|
chmod +w $out/etc/supervisor
|
|
mkdir $out/etc/supervisor/enabled/
|
|
''
|