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
37542723ec
commit
ef3e74c454
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
config
|
config
|
||||||
,pkgs
|
,pkgs
|
||||||
|
,lib
|
||||||
,...
|
,...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -101,6 +102,12 @@ in {
|
||||||
tc = "tmux new-session -s ";
|
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;
|
enableNixpkgsReleaseCheck = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,6 @@
|
||||||
url = "https://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd";
|
url = "https://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd";
|
||||||
sha256 = "nzevVk7NJ9X2kVTXz+e6jesfYgyBuUzw6rH0IFx01fg=";
|
sha256 = "nzevVk7NJ9X2kVTXz+e6jesfYgyBuUzw6rH0IFx01fg=";
|
||||||
};
|
};
|
||||||
"typo3-configuration".source = ./files/typo3-configuration;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
desktopEntries = {
|
desktopEntries = {
|
||||||
|
|
Loading…
Reference in a new issue