Minio: fixed systemd service from upstream
This commit is contained in:
parent
5a3265ff4f
commit
8733019d36
2 changed files with 5 additions and 7 deletions
|
|
@ -23,6 +23,10 @@
|
||||||
sort_reverse = false;
|
sort_reverse = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
keymap = [
|
||||||
|
{ exec = "<C-s>"; on = [ "shell zsh --block --confirm" ]; }
|
||||||
|
];
|
||||||
|
|
||||||
opener = {
|
opener = {
|
||||||
folder = [
|
folder = [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
age.secrets.minio = {
|
age.secrets.minio = {
|
||||||
file = ../../secrets/minio.age;
|
file = ../../secrets/minio.age;
|
||||||
|
|
@ -13,10 +13,4 @@
|
||||||
];
|
];
|
||||||
rootCredentialsFile = config.age.secrets.minio.path;
|
rootCredentialsFile = config.age.secrets.minio.path;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.minio.serviceConfig.ExecStart =
|
|
||||||
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