nixos-init.nix: Remove /tmp -o noexec
This commit is contained in:
parent
ac49df440f
commit
c6374e0931
1 changed files with 3 additions and 3 deletions
|
@ -29,9 +29,9 @@ in
|
||||||
"/sys/fs/cgroup:/sys/fs/cgroup:ro"
|
"/sys/fs/cgroup:/sys/fs/cgroup:ro"
|
||||||
];
|
];
|
||||||
service.tmpfs = [
|
service.tmpfs = [
|
||||||
"/tmp"
|
"/tmp:exec,mode=777"
|
||||||
"/run"
|
"/run" # noexec is fine because exes should be symlinked from elsewhere anyway
|
||||||
"/run/wrappers"
|
"/run/wrappers" # noexec breaks this intentionally
|
||||||
];
|
];
|
||||||
service.stop_signal = "SIGRTMIN+3";
|
service.stop_signal = "SIGRTMIN+3";
|
||||||
service.tty = true;
|
service.tty = true;
|
||||||
|
|
Loading…
Reference in a new issue