mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
Compare commits
No commits in common. "d48c3ce4e526a605065e09f3a4ef4d674db6084b" and "e53986a3db1783b5555391f20ce9273305408581" have entirely different histories.
d48c3ce4e5
...
e53986a3db
4 changed files with 10 additions and 39 deletions
|
|
@ -126,7 +126,7 @@
|
||||||
config.nixosModules.mantle
|
config.nixosModules.mantle
|
||||||
config.nixosModules.crust
|
config.nixosModules.crust
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
# inputs.lix-module.nixosModules.default
|
inputs.lix-module.nixosModules.default
|
||||||
inputs.nur.modules.nixos.default
|
inputs.nur.modules.nixos.default
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,6 @@ in
|
||||||
cli
|
cli
|
||||||
dolphin
|
dolphin
|
||||||
element
|
element
|
||||||
espanso
|
|
||||||
emote
|
emote
|
||||||
feishin
|
feishin
|
||||||
flameshot
|
flameshot
|
||||||
|
|
|
||||||
|
|
@ -270,22 +270,6 @@ in
|
||||||
mastodon-sidekiq-mailers.serviceConfig.PrivateMounts = lib.mkForce false;
|
mastodon-sidekiq-mailers.serviceConfig.PrivateMounts = lib.mkForce false;
|
||||||
mastodon-sidekiq-push-pull.serviceConfig.PrivateMounts = lib.mkForce false;
|
mastodon-sidekiq-push-pull.serviceConfig.PrivateMounts = lib.mkForce false;
|
||||||
|
|
||||||
mastodon-elastic-search = {
|
|
||||||
description = "Recache elastic search";
|
|
||||||
after = [
|
|
||||||
"network-online.target"
|
|
||||||
"mastodon-web.service"
|
|
||||||
];
|
|
||||||
wants = [ "network-online.target" ];
|
|
||||||
serviceConfig = {
|
|
||||||
WorkingDirectory = "/var/lib/${serviceCfg.name}";
|
|
||||||
Type = "oneshot";
|
|
||||||
};
|
|
||||||
script = ''
|
|
||||||
/run/current-system/sw/bin/mastodon-tootctl search deploy --only=instances accounts tags statuses public_statuses
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
mastodon-copy-secrets = {
|
mastodon-copy-secrets = {
|
||||||
description = "Copy secrets from virtiofs to local filesystem";
|
description = "Copy secrets from virtiofs to local filesystem";
|
||||||
before = [ "mastodon-init-dirs.service" ];
|
before = [ "mastodon-init-dirs.service" ];
|
||||||
|
|
@ -380,27 +364,16 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
timers = {
|
timers.fedifetcher = {
|
||||||
mastodon-elastic-search = {
|
description = "Timer for FediFetcher";
|
||||||
description = "Timer for Mastodon elastic search recaching";
|
wantedBy = [ "timers.target" ];
|
||||||
wantedBy = [ "timers.target" ];
|
|
||||||
timerConfig = {
|
|
||||||
OnBootSec = "10min";
|
|
||||||
OnUnitActiveSec = "60min";
|
|
||||||
Unit = "mastodon-elastic-search.service";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
fedifetcher = {
|
timerConfig = {
|
||||||
description = "Timer for FediFetcher";
|
OnBootSec = "10min";
|
||||||
wantedBy = [ "timers.target" ];
|
OnUnitActiveSec = "15min";
|
||||||
timerConfig = {
|
Unit = "fedifetcher.service";
|
||||||
OnBootSec = "10min";
|
Persistent = true;
|
||||||
OnUnitActiveSec = "15min";
|
AccuracySec = "1min";
|
||||||
Unit = "fedifetcher.service";
|
|
||||||
Persistent = true;
|
|
||||||
AccuracySec = "1min";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,6 @@ in
|
||||||
"adbusers"
|
"adbusers"
|
||||||
"caddy"
|
"caddy"
|
||||||
"disk"
|
"disk"
|
||||||
"input"
|
|
||||||
"jellyfin"
|
"jellyfin"
|
||||||
"libvirtd"
|
"libvirtd"
|
||||||
"minecraft"
|
"minecraft"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue