mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
refactor: debloated imports and modules
This commit is contained in:
parent
489b64c9c7
commit
7351c5cc45
6 changed files with 237 additions and 342 deletions
|
@ -1,33 +1,27 @@
|
|||
{
|
||||
imports = [
|
||||
# Folders
|
||||
./mastodon
|
||||
# Files
|
||||
./acme.nix
|
||||
./caddy.nix
|
||||
./jellyfin.nix
|
||||
./logrotate.nix
|
||||
./minecraft.nix
|
||||
./ollama.nix
|
||||
./peertube.nix
|
||||
./postgresql.nix
|
||||
./owncast.nix
|
||||
./samba.nix
|
||||
./vaultwarden.nix
|
||||
./wiki.nix
|
||||
|
||||
# These are all broken.
|
||||
|
||||
# ./forgejo.nix
|
||||
|
||||
# Partial Nginx configs make it nearly impossible to use alongside Caddy. 👇
|
||||
|
||||
# ./castopod.nix
|
||||
|
||||
# The reverse proxy works, but something is cucked.
|
||||
# Maybe the port, or some configuration thing. It's unclear.
|
||||
# Might actually have to wait for the package to get uncucked. 👇
|
||||
|
||||
# ./nextcloud.nix
|
||||
let
|
||||
serviceFolders = [
|
||||
"mastodon"
|
||||
];
|
||||
|
||||
serviceFiles = [
|
||||
"acme"
|
||||
"caddy"
|
||||
"jellyfin"
|
||||
"logrotate"
|
||||
"minecraft"
|
||||
"ollama"
|
||||
"peertube"
|
||||
"postgresql"
|
||||
"owncast"
|
||||
"samba"
|
||||
"vaultwarden"
|
||||
"wiki"
|
||||
# "forgejo"
|
||||
# "castopod"
|
||||
# "nextcloud"
|
||||
];
|
||||
in {
|
||||
imports =
|
||||
(map (folder: ./${folder}) serviceFolders)
|
||||
++ (map (file: ./${file}.nix) serviceFiles);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue