Cleanup baldur config
This commit is contained in:
parent
cec023839e
commit
ef6405ef14
20 changed files with 208 additions and 254 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, nixosConfig, ... }: {
|
||||
{ ... }: {
|
||||
home = {
|
||||
language.base = "it_IT.UTF-8";
|
||||
keyboard = {
|
||||
|
|
@ -7,26 +7,26 @@
|
|||
};
|
||||
};
|
||||
|
||||
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";
|
||||
StartLimitBurst = 5;
|
||||
StartLimitInterval = 200;
|
||||
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_baldur_key.path},use_path_request_style,url=http://freya.local:3900";
|
||||
Restart = "always";
|
||||
RestartSec = 30;
|
||||
Type = "exec";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "default.target" ];
|
||||
};
|
||||
};
|
||||
# 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";
|
||||
# StartLimitBurst = 5;
|
||||
# StartLimitInterval = 200;
|
||||
# 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_baldur_key.path},use_path_request_style,url=http://freya.local:3900";
|
||||
# Restart = "always";
|
||||
# RestartSec = 30;
|
||||
# Type = "exec";
|
||||
# };
|
||||
# Install = {
|
||||
# WantedBy = [ "default.target" ];
|
||||
# };
|
||||
# };
|
||||
|
||||
imports = [
|
||||
../../modules/hm/__basic.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue