Fixed filenames

This commit is contained in:
Illia Chub 2020-12-23 16:15:56 +02:00
parent 101da8ae50
commit 2a330d3855

View file

@ -12,9 +12,10 @@ makeConf() {
mkdir -p /etc/nixos/mailserver/system mkdir -p /etc/nixos/mailserver/system
mkdir -p /etc/nixos/letsencrypt mkdir -p /etc/nixos/letsencrypt
mkdir /etc/nixos/backup mkdir /etc/nixos/backup
mkdir /etc/nixos/passmgr/ mkdir /etc/nixos/passmgr
mkdir /etc/nixos/nginx mkdir /etc/nixos/nginx
mkdir /etc/nixos/git mkdir /etc/nixos/git
mkdir /etc/nixos/nextcloud
# Prevent grep for sending error code 1 (and halting execution) when no lines are selected : https://www.unix.com/man-page/posix/1P/grep # Prevent grep for sending error code 1 (and halting execution) when no lines are selected : https://www.unix.com/man-page/posix/1P/grep
local IFS=$'\n' local IFS=$'\n'
@ -33,15 +34,15 @@ makeConf() {
./hardware-configuration.nix ./hardware-configuration.nix
$network_import $network_import
$NIXOS_IMPORT $NIXOS_IMPORT
$mailServer ./mailserver/system/mailserver.nix
$api ./api/uwsgi.nix
$letsencryptACME ./letsencrypt/acme.nix
$letsencryptCertbot ./letsencrypt/certbot.nix
$restic ./backup/restic.nix
$bitwarden ./passmgr/bitwarden.nix
$nginx ./nginx/nginx.nix
$nextcloud ./nextcloud/nextcloud.nix
$gitea ./git/gitea.nix
]; ];
boot.cleanTmpDir = true; boot.cleanTmpDir = true;
@ -325,7 +326,7 @@ proxy_headers_hash_bucket_size 128;
} }
EOF EOF
cat > /etc/nixos/backup/nextcloud.nix << EOF cat > /etc/nixos/nextcloud/nextcloud.nix << EOF
{ pkgs, ... }: { pkgs, ... }:
{ {
services.nextcloud = { services.nextcloud = {