Fix s3fs mount and secrets
This commit is contained in:
parent
502b1a1091
commit
ccce9fbd31
20 changed files with 151 additions and 123 deletions
|
|
@ -48,10 +48,14 @@
|
|||
AssertPathIsDirectory = "/home/bertof/s3";
|
||||
AssertPathIsReadWrite = "/home/bertof/s3";
|
||||
Description = "Mount S3 bucket in bertof's home";
|
||||
StartLimitBurst = 5;
|
||||
StartLimitInterval = 200;
|
||||
Wants = [ "network.target" "network-online.target" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkgs.s3fs}/bin/s3fs -f -d bertof /home/bertof/s3 -o passwd_file=${nixosConfig.age.secrets.garage_bertof_odin_key.path},use_path_request_style,url=http://localhost:3900";
|
||||
Restart = "always";
|
||||
RestartSec = 30;
|
||||
Type = "exec";
|
||||
};
|
||||
Install = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue