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:
parent
61ddf6579b
commit
32435cb94b
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -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
|
||||
|
|
|
@ -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.
BIN
home/files/typo3-configuration/client-specific/FesDe.php
Normal file
BIN
home/files/typo3-configuration/client-specific/FesDe.php
Normal file
Binary file not shown.
BIN
home/files/typo3-configuration/client-specific/Reuter.php
Normal file
BIN
home/files/typo3-configuration/client-specific/Reuter.php
Normal file
Binary file not shown.
BIN
home/files/typo3-configuration/client-specific/Sac.php
Normal file
BIN
home/files/typo3-configuration/client-specific/Sac.php
Normal file
Binary file not shown.
|
@ -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"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue