nixpkgs: nixos/lorri: Disable "ProtectHome=read-only"

For some reason, with this option "lorri" failed with following error:

   IO error binding to socket: Read-only file system (os error 30)

This is odd, since socket is actually in "/run/user/1000/lorri/daemon.socket".
Anyway, this way it is not any worse that running "lorri daemon" in shell tab.
This commit is contained in:
Dmitry Bogatov 2024-03-15 23:15:08 -04:00
parent 066206c9b7
commit fc75b9ede3
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ in {
ExecStart = "${cfg.package}/bin/lorri daemon";
PrivateTmp = true;
ProtectSystem = "strict";
ProtectHome = "read-only";
# ProtectHome = "read-only";
Restart = "on-failure";
};
};