Sync typo3-configuration to system location

This is needed as php is not allowed to check home folder of user.
That way changing the config will deploy it to the expected location.

Maybe I should move the config to system, out of user.
This commit is contained in:
Daniel Siepmann 2024-06-20 07:42:16 +02:00
parent f87619e3fa
commit 6ec7bc3c0a
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 7 additions and 1 deletions

View file

@ -1,6 +1,7 @@
{
config
,pkgs
,lib
,...
}:
@ -101,6 +102,12 @@ in {
tc = "tmux new-session -s ";
};
activation = {
provideTypo3Configuration = lib.hm.dag.entryAfter ["writeBoundary"] ''
run --quiet cp $VERBOSE_ARG -r $HOME/.config/nixpkgs/home/files/typo3-configuration/* /var/projects/own/typo3-configuration
'';
};
enableNixpkgsReleaseCheck = true;
};
}

View file

@ -51,7 +51,6 @@
url = "https://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd";
sha256 = "nzevVk7NJ9X2kVTXz+e6jesfYgyBuUzw6rH0IFx01fg=";
};
"typo3-configuration".source = ./files/typo3-configuration;
};
desktopEntries = {