nixos/common: Make Nix daemon's TMPDIR /nix/tmp
This commit is contained in:
parent
a9b16e841d
commit
4f6256d08d
@ -184,7 +184,11 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
|
tmpfiles.rules = [
|
||||||
|
"d /nix/tmp 0775 root nixbld 24h"
|
||||||
|
];
|
||||||
services = {
|
services = {
|
||||||
|
nix-daemon.environment.TMPDIR = "/nix/tmp";
|
||||||
netdata = mkIf config.services.netdata.enable {
|
netdata = mkIf config.services.netdata.enable {
|
||||||
# python.d plugin script does #!/usr/bin/env bash
|
# python.d plugin script does #!/usr/bin/env bash
|
||||||
path = with pkgs; [ bash ];
|
path = with pkgs; [ bash ];
|
||||||
|
Loading…
Reference in New Issue
Block a user