blob: fa17f112dc1a301335dae24a21d87549ff4d433d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{
config,
lib,
...
}: let
cfg = config.soispha.temfiles;
in {
options.soispha.tempfiles = {
enable = lib.mkEnableOption "systemd tempfiles generation";
};
config = lib.mkIf cfg.enable {
systemd.tmpfiles.rules = [
# TODO: Find a way to move this file to the lf home manager config.
#
# This file is needed to trash stuff on the root ('/') temp file system.
"d /.Trash 1777 root root"
];
};
}
|