We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 71520c3 + 53042eb commit 9558240Copy full SHA for 9558240
nix/nixos/cardano-node-service.nix
@@ -359,6 +359,16 @@ in {
359
'';
360
};
361
362
+ socketGroup = mkOption {
363
+ type = types.str;
364
+ default = "cardano-node";
365
+ description = ''
366
+ systemd socket group owner.
367
+ Note: only applies to sockets created by systemd
368
+ (ie. when `systemdSocketActivation` is turned on).
369
+ '';
370
+ };
371
+
372
systemdSocketActivation = mkOption {
373
type = types.bool;
374
default = false;
@@ -678,7 +688,7 @@ in {
678
688
ReusePort = "yes";
679
689
SocketMode = "0660";
680
690
SocketUser = "cardano-node";
681
- SocketGroup = "cardano-node";
691
+ SocketGroup = cfg.socketGroup;
682
692
FreeBind = "yes";
683
693
684
694
} (cfg.extraSocketConfig i)));
0 commit comments