nixoswikibot has quit [Remote host closed the connection]
nixoswikibot has joined #nixos-wiki
pie__ has joined #nixos-wiki
pie_ has quit [Ping timeout: 240 seconds]
nixoswikibot has quit [Remote host closed the connection]
nixoswikibot has joined #nixos-wiki
tilpner has quit [Quit: WeeChat 2.3]
tilpner has joined #nixos-wiki
teehemka_ has joined #nixos-wiki
teehemka_ is now known as teehemkay[away]
teehemkay[away] has quit [Ping timeout: 244 seconds]
tilpner has quit [Quit: WeeChat 2.3]
tilpner has joined #nixos-wiki
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos-wiki
nixoswikibot has quit [Remote host closed the connection]
nixoswikibot has joined #nixos-wiki
asymmetric has joined #nixos-wiki
asymmetric has quit [Remote host closed the connection]
asymmetric has joined #nixos-wiki
asymmetric has quit [Quit: Leaving]
<
Ox4A6F>
Is there a way of loding a service.name.config statement from a file? I know some services implement configFile...
<
symphorien>
Ox4A6F: you can try environment.etc.theNameOfTheConfigFile.text = lib.mkForce ''text''
<
symphorien>
but it depends on the module
<
symphorien>
there is no generic solution
<
symphorien>
foo.configFile = builtins.readFile ./file;
<
symphorien>
it won't work with binary files though
<
Ox4A6F>
Nice, thanks symphorien
symphorien has left #nixos-wiki ["WeeChat 2.3"]