Tiziano: access to s3 servers
This commit is contained in:
parent
669c45203b
commit
3e1b7adfc8
23 changed files with 352 additions and 177 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{ pkgs, nixosConfig, ... }: {
|
||||
home = {
|
||||
language.base = "it_IT.UTF-8";
|
||||
keyboard = {
|
||||
|
|
@ -6,18 +6,30 @@
|
|||
options = [ "terminate:ctrl_alt_bksp" "compose:rctrl" ];
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services.garage-home-s3 = {
|
||||
Unit = {
|
||||
After = [ "network.target" "network-online.target" "local-fs.target" ];
|
||||
AssertPathIsDirectory = "/home/tiziano/s3";
|
||||
AssertPathIsReadWrite = "/home/tiziano/s3";
|
||||
Description = "Mount S3 bucket in tiziano's home";
|
||||
Wants = [ "network.target" "network-online.target" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkgs.s3fs}/bin/s3fs -f -d tiziano /home/tiziano/s3 -o passwd_file=${nixosConfig.age.secrets.garage_tiziano_loki_key.path},use_path_request_style,url=http://localhost:3900";
|
||||
Type = "exec";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "default.target" ];
|
||||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
../../modules/hm/__basic.nix
|
||||
|
||||
../../modules/hm/helix.nix
|
||||
../../modules/hm/kakoune.nix
|
||||
../../modules/hm/kitty.nix
|
||||
../../modules/hm/lf.nix
|
||||
../../modules/hm/megasync.nix
|
||||
../../modules/hm/syncthing_tiziano.nix
|
||||
|
||||
../../modules/hm/shell_aliases.nix
|
||||
];
|
||||
|
||||
home.stateVersion = "21.11";
|
||||
home.stateVersion = "23.05";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue