mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
Compare commits
5 commits
e53986a3db
...
d48c3ce4e5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d48c3ce4e5 | ||
|
|
bf57fefa3e | ||
|
|
cc35c13e2d | ||
|
|
2d551d716c | ||
|
|
11e51030e0 |
4 changed files with 39 additions and 10 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,6 +89,7 @@ in
|
||||||
cli
|
cli
|
||||||
dolphin
|
dolphin
|
||||||
element
|
element
|
||||||
|
espanso
|
||||||
emote
|
emote
|
||||||
feishin
|
feishin
|
||||||
flameshot
|
flameshot
|
||||||
|
|
|
||||||
|
|
@ -270,6 +270,22 @@ 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" ];
|
||||||
|
|
@ -364,10 +380,20 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
timers.fedifetcher = {
|
timers = {
|
||||||
|
mastodon-elastic-search = {
|
||||||
|
description = "Timer for Mastodon elastic search recaching";
|
||||||
|
wantedBy = [ "timers.target" ];
|
||||||
|
timerConfig = {
|
||||||
|
OnBootSec = "10min";
|
||||||
|
OnUnitActiveSec = "60min";
|
||||||
|
Unit = "mastodon-elastic-search.service";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
fedifetcher = {
|
||||||
description = "Timer for FediFetcher";
|
description = "Timer for FediFetcher";
|
||||||
wantedBy = [ "timers.target" ];
|
wantedBy = [ "timers.target" ];
|
||||||
|
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
OnBootSec = "10min";
|
OnBootSec = "10min";
|
||||||
OnUnitActiveSec = "15min";
|
OnUnitActiveSec = "15min";
|
||||||
|
|
@ -376,6 +402,7 @@ in
|
||||||
AccuracySec = "1min";
|
AccuracySec = "1min";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
network = {
|
network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ 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