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:
parent
f87619e3fa
commit
6ec7bc3c0a
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue