Robert Helgesson
54de0e1d79
xdg: create cache directory using keep file
...
We can avoid the activation block by instead creating a hidden file in
the directory.
2019-07-26 23:23:51 +02:00
Matthieu Coudron
7a8d50a803
xdg: create $XDG_CACHE_HOME
...
Some programs fail silently (bash with HISTFILE for instance) when the
folder doesn't exist.
2018-08-20 20:37:26 +02:00
Robert Helgesson
a977c79f9f
xdg: add option 'xdg.dataFile'
...
This allows creating files within the user's XDG data directory.
2017-11-11 00:30:53 +01:00
Robert Helgesson
549deb51d6
xdg: use fileType
for xdg.configFile
2017-11-06 14:24:04 +01:00
Cornelius Mika
ccb291ce66
files: add option 'executable'
...
This also deprecates the `home.file.<name?>.mode` option, which is
misleading because the Nix store only allows modes 'r--' and 'r-x'.
2017-11-06 14:24:04 +01:00
Robert Helgesson
82d6aa0c97
xdg: fix use of base path
2017-10-31 12:26:39 +01:00
Robert Helgesson
54a9058ee0
xdg: add module
...
When enabled this module will cause Home Manager to manage the user
environment XDG variables. When disabled, then Home Manager will use
the XDG variables taken from the user environment.
2017-10-29 01:59:34 +02:00