Migrate typo3-client-specific into this repository

This removes the need for another repository.
Furthermore I'll integrate the setup a bit more for hikari.
This commit is contained in:
Daniel Siepmann 2023-02-04 11:50:36 +01:00
parent 61ddf6579b
commit 32435cb94b
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
7 changed files with 11 additions and 9 deletions

1
.gitattributes vendored
View file

@ -2,4 +2,5 @@ home/programs/ssh-match-blocks.nix filter=git-crypt diff=git-crypt
home/files/composer/auth.json filter=git-crypt diff=git-crypt
home/files/docker/config.json filter=git-crypt diff=git-crypt
home/files/rclone.conf filter=git-crypt diff=git-crypt
home/files/typo3-configuration/client-specific/** filter=git-crypt diff=git-crypt
home/packages/custom/dmenu-scripts/customer-issue.sh filter=git-crypt diff=git-crypt

View file

@ -12,13 +12,7 @@ require_once 'CacheFileBackend.php';
require_once 'Debugging.php';
require_once 'Logging.php';
require_once 'Autologin.php';
if (file_exists('/var/projects/own/typo3-client-configuration/ClientSpecific.php')) {
// New location on nixos
require_once '/var/projects/own/typo3-client-configuration/ClientSpecific.php';
} else {
// Old location on ubuntu
require_once '/home/daniels/Projects/own/typo3-configuration/ClientSpecific.php';
}
require_once __DIR__ . '/client-specific/ClientSpecific.php';
require_once 'ExtensionConfigurations.php';
// Last, as we need client specific db adjustments
require_once 'Database.php';

Binary file not shown.

View file

@ -1,6 +1,6 @@
{ pkgs, lib, ... }:
{ pkgs, config, lib, ... }:
# TODO: Find way to place typo3-configuration at expected path.
# TODO: Find way to define project base path "/var/projects/"
{
imports = [
@ -71,4 +71,11 @@
};
};
};
systemd.tmpfiles.rules = [
# Would be cool to improve this somehow.
# Current issues: The link is created once against nix store.
# Changes are not reflected until reboot?
"C /var/projects/own/typo3-configuration - - - - ${config.users.users.daniels.home}/.local/share/typo3-configuration"
];
}