Nix fmt rfc style (more or less)
This commit is contained in:
parent
e7496c447a
commit
515f098644
146 changed files with 2607 additions and 906 deletions
|
|
@ -1,5 +1,9 @@
|
|||
{ config, lib, ... }: {
|
||||
age.secrets.minio = { file = ../../secrets/minio.age; owner = "minio"; };
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
age.secrets.minio = {
|
||||
file = ../../secrets/minio.age;
|
||||
owner = "minio";
|
||||
};
|
||||
|
||||
services.minio = {
|
||||
enable = true;
|
||||
|
|
@ -11,6 +15,8 @@
|
|||
};
|
||||
|
||||
systemd.services.minio.serviceConfig.ExecStart =
|
||||
let cfg = config.services.minio; in
|
||||
let
|
||||
cfg = config.services.minio;
|
||||
in
|
||||
lib.mkForce "${cfg.package}/bin/minio server --json --address ${cfg.listenAddress} --console-address ${cfg.consoleAddress} ${toString cfg.dataDir}";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue