seatd: declare the runtime dir with systemd.tmpfiles instead of sane.fs
This commit is contained in:
@@ -40,7 +40,7 @@ lib.mkMerge [
|
|||||||
(lib.mkIf cfg.enabled {
|
(lib.mkIf cfg.enabled {
|
||||||
users.groups.seat = {};
|
users.groups.seat = {};
|
||||||
|
|
||||||
sane.fs."${seatdDir}".dir.acl = {
|
systemd.tmpfiles.settings."20-sane-seatd"."${seatdDir}".d = {
|
||||||
user = "root";
|
user = "root";
|
||||||
group = "seat";
|
group = "seat";
|
||||||
mode = "0770";
|
mode = "0770";
|
||||||
@@ -50,8 +50,6 @@ lib.mkMerge [
|
|||||||
description = "Seat management daemon";
|
description = "Seat management daemon";
|
||||||
documentation = [ "man:seatd(1)" ];
|
documentation = [ "man:seatd(1)" ];
|
||||||
|
|
||||||
after = [ config.sane.fs."${seatdDir}".unit ];
|
|
||||||
wants = [ config.sane.fs."${seatdDir}".unit ];
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
restartIfChanged = false;
|
restartIfChanged = false;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user