treewide: use attrs instead of list for types.loaOf options
This commit is contained in:
@@ -47,10 +47,8 @@ let cfg = config.services.drbd; in
|
||||
options drbd usermode_helper=/run/current-system/sw/bin/drbdadm
|
||||
'';
|
||||
|
||||
environment.etc = singleton
|
||||
{ source = pkgs.writeText "drbd.conf" cfg.config;
|
||||
target = "drbd.conf";
|
||||
};
|
||||
environment.etc.drbd.conf =
|
||||
{ source = pkgs.writeText "drbd.conf" cfg.config; };
|
||||
|
||||
systemd.services.drbd = {
|
||||
after = [ "systemd-udev.settle.service" "network.target" ];
|
||||
|
||||
Reference in New Issue
Block a user