forked from aylac.top/nixcfg
this repo has no description

couching my db

Changed files
+150 -106
homes
hosts
modules
hardware
acer
aspire
A515-52G
home
desktop
gnome
snippets
tailnet
+3 -3
flake.lock
···
"secrets": {
"flake": false,
"locked": {
-
"lastModified": 1755914550,
-
"narHash": "sha256-3idodE8ltAGjE+j76EVNHtlHX5cufwdslUCUtDOK4BM=",
+
"lastModified": 1755978140,
+
"narHash": "sha256-pIYijjXyKg9dMrPX4N6R4zwBvHnEo1ehw8GW04KPavE=",
"owner": "ayla6",
"repo": "secrets",
-
"rev": "3c93b9f5d1b28a8614a9f36a2816ff6369258207",
+
"rev": "4643f2fc96502ff02b21a0aa548761d916dcceac",
"type": "github"
},
"original": {
+16 -15
homes/ayla/default.nix
···
home = {
packages = with pkgs; [
# development
+
ffmpeg-full
+
love
+
luajit
nodejs
pnpm
typescript
-
ffmpeg-full
-
luajit
-
love
# applications
-
qbittorrent
-
kdePackages.kdenlive
-
krita
-
gimp3
-
yt-dlp
aseprite
+
bitwarden
+
blender
+
calibre
+
freac
+
gimp3
inkscape
jellyfin-media-player
-
calibre
-
picard
-
freac
+
kdePackages.kdenlive
+
krita
lmms
nicotine-plus
-
blender
+
obsidian
+
picard
+
qbittorrent
rclone
rclone-browser
-
bitwarden
tenacity
+
yt-dlp
# gaming
+
melonDS
mgba
-
melonDS
+
mindustry
openttd
prismlauncher
-
mindustry
];
username = "ayla";
+6 -6
hosts/nanpi/glance.nix
···
check-url = "http://${config.mySnippets.tailnet.networkMap.jellyfin.hostName}:${toString config.mySnippets.tailnet.networkMap.jellyfin.port}/web/index.html";
icon = "di:jellyfin";
}
-
{
-
title = "Jellyseerr";
-
url = "https://${config.mySnippets.tailnet.networkMap.jellyseerr.vHost}/";
-
check-url = "http://${config.mySnippets.tailnet.networkMap.jellyseerr.hostName}:${toString config.mySnippets.tailnet.networkMap.jellyseerr.port}/";
-
icon = "di:jellyseerr";
-
}
+
#{
+
# title = "Jellyseerr";
+
# url = "https://${config.mySnippets.tailnet.networkMap.jellyseerr.vHost}/";
+
# check-url = "http://${config.mySnippets.tailnet.networkMap.jellyseerr.hostName}:${toString config.mySnippets.tailnet.networkMap.jellyseerr.port}/";
+
# icon = "di:jellyseerr";
+
#}
{
title = "Sonarr";
url = "https://${config.mySnippets.tailnet.networkMap.sonarr.vHost}/";
+65 -26
hosts/nanpi/services.nix
···
services);
in {
services = {
-
pds = {
-
enable = true;
-
environmentFiles = [config.age.secrets.pds.path];
-
pdsadmin.enable = true;
-
settings = {
-
PDS_HOSTNAME = config.mySnippets.aylac-top.networkMap.pds.vHost;
-
# PDS_BSKY_APP_VIEW_URL = "https://bsky.zeppelin.social";
-
# PDS_BSKY_APP_VIEW_DID = "did:web:bsky.zeppelin.social";
-
};
-
};
-
cloudflared = {
enable = true;
certificateFile = config.age.secrets.cloudflareCertificate.path;
···
credentialsFile = config.age.secrets.cloudflareCredentials.path;
default = "http_status:404";
ingress = mkCloudflareIngress [
+
{name = "forgejo";}
+
{name = "glance";}
+
{name = "ntfy";}
{name = "pds";}
{name = "vaultwarden";}
-
{name = "forgejo";}
-
{name = "ntfy";}
-
{name = "glance";}
];
};
};
};
caddy.virtualHosts = mkCaddyVHosts [
+
{name = "audiobookshelf";}
+
{name = "autobrr";}
+
{name = "bazarr";}
+
{name = "copyparty";}
+
{name = "couchdb";}
+
{name = "glance";}
{
name = "jellyfin";
flushInterval = true;
}
+
{name = "jellyseerr";}
+
{name = "karakeep";}
+
{name = "miniflux";}
+
{name = "prowlarr";}
{name = "qbittorrent";}
+
{name = "radarr";}
{name = "radicale";}
-
{name = "webdav";}
-
{name = "bazarr";}
-
{name = "prowlarr";}
-
{name = "radarr";}
-
{name = "sonarr";}
-
{name = "autobrr";}
-
{name = "glance";}
-
{name = "karakeep";}
-
{name = "copyparty";}
{name = "redlib";}
-
{name = "miniflux";}
-
{name = "jellyseerr";}
-
{name = "audiobookshelf";}
+
{name = "sonarr";}
+
{name = "webdav";}
];
+
+
pds = {
+
enable = true;
+
environmentFiles = [config.age.secrets.pds.path];
+
pdsadmin.enable = true;
+
settings = {
+
PDS_HOSTNAME = config.mySnippets.aylac-top.networkMap.pds.vHost;
+
# PDS_BSKY_APP_VIEW_URL = "https://bsky.zeppelin.social";
+
# PDS_BSKY_APP_VIEW_DID = "did:web:bsky.zeppelin.social";
+
};
+
};
#immich = {
# enable = true;
···
auth = "true";
}
];
+
};
+
};
+
+
couchdb = {
+
inherit (config.mySnippets.tailnet.networkMap.couchdb) port;
+
enable = true;
+
bindAddress = "0.0.0.0";
+
+
extraConfig = {
+
couchdb = {
+
single_node = true;
+
max_document_size = 50000000;
+
};
+
+
chttpd = {
+
require_valid_user = true;
+
max_http_request_size = 4294967296;
+
enable_cors = true;
+
};
+
+
chttpd_auth = {
+
require_valid_user = true;
+
authentication_redirect = "/_utils/session.html";
+
};
+
+
httpd = {
+
enable_cors = true;
+
"WWW-Authenticate" = "Basic realm=\"couchdb\"";
+
bind_address = "0.0.0.0";
+
};
+
+
cors = {
+
origins = "app://obsidian.md,capacitor://localhost,http://localhost";
+
credentials = true;
+
headers = "accept, authorization, content-type, origin, referer";
+
methods = "GET,PUT,POST,HEAD,DELETE";
+
max_age = 3600;
+
};
};
};
};
+1 -1
modules/hardware/acer/aspire/A515-52G/default.nix
···
sharedModules = [
{
services.easyeffects = {
-
enable = true;
+
#enable = true;
# yeah i literally just got aly's t440p's config i have no idea if they're similar in how they suck but mine do suck
preset = "T440p.json";
};
+1 -2
modules/home/desktop/gnome/default.nix
···
};
"org/gnome/desktop/peripherals/touchpad".tap-to-click = true;
-
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
binding = "<Super>Return";
-
command = "${defaultApps.terminal}";
+
command = "${defaultApps.terminal}${lib.optionalString (config.myHome.profiles.defaultApps.terminal.package == pkgs.ptyxis) " --new-window"}";
name = "Terminal";
};
+58 -53
modules/snippets/tailnet/default.nix
···
description = "Hostnames, ports, and vHosts for ${config.mySnippets.tailnet.name} services.";
default = {
-
qbittorrent = {
+
audiobookshelf = {
hostName = "nanpi";
-
port = 8080;
-
vHost = "qbittorrent.${config.mySnippets.tailnet.name}";
+
port = 13378;
+
vHost = "audiobookshelf.${config.mySnippets.tailnet.name}";
};
+
copyparty = {
+
hostName = "nanpi";
+
port = 3210;
+
vHost = "copyparty.${config.mySnippets.tailnet.name}";
+
};
+
+
couchdb = {
+
hostName = "nanpi";
+
port = 5984;
+
vHost = "couchdb.${config.mySnippets.tailnet.name}";
+
};
+
+
glance = {
+
hostName = "nanpi";
+
port = 9090;
+
vHost = "glance.${config.mySnippets.tailnet.name}";
+
};
+
+
immich = {
+
hostName = "nanpi";
+
port = 2283;
+
vHost = "immich.${config.mySnippets.tailnet.name}";
+
};
jellyfin = {
hostName = "nanpi";
port = 8096;
vHost = "jellyfin.${config.mySnippets.tailnet.name}";
};
-
#immich = {
-
# hostName = "nanpi";
-
# port = 2283;
-
# vHost = "immich.${config.mySnippets.tailnet.name}";
-
#};
+
jellyseerr = {
+
hostName = "nanpi";
+
port = 5055;
+
vHost = "jellyseerr.${config.mySnippets.tailnet.name}";
+
};
+
+
karakeep = {
+
hostName = "nanpi";
+
port = 7020;
+
vHost = "karakeep.${config.mySnippets.tailnet.name}";
+
};
+
+
miniflux = {
+
hostName = "nanpi";
+
port = 6540;
+
vHost = "miniflux.${config.mySnippets.tailnet.name}";
+
};
radicale = {
hostName = "nanpi";
···
vHost = "radicale.${config.mySnippets.tailnet.name}";
};
+
redlib = {
+
hostName = "nanpi";
+
port = 6605;
+
vHost = "redlib.${config.mySnippets.tailnet.name}";
+
};
+
uptime-kuma = {
hostName = "jezebel";
port = 3008;
···
vHost = "webdav.${config.mySnippets.tailnet.name}";
};
-
glance = {
+
qbittorrent = {
hostName = "nanpi";
-
port = 9090;
-
vHost = "glance.${config.mySnippets.tailnet.name}";
+
port = 8080;
+
vHost = "qbittorrent.${config.mySnippets.tailnet.name}";
+
};
+
+
autobrr = {
+
hostName = "nanpi";
+
port = 7474;
+
vHost = "autobrr.${config.mySnippets.tailnet.name}";
};
bazarr = {
···
hostName = "nanpi";
port = 8989;
vHost = "sonarr.${config.mySnippets.tailnet.name}";
-
};
-
-
autobrr = {
-
hostName = "nanpi";
-
port = 7474;
-
vHost = "autobrr.${config.mySnippets.tailnet.name}";
-
};
-
-
karakeep = {
-
hostName = "nanpi";
-
port = 7020;
-
vHost = "karakeep.${config.mySnippets.tailnet.name}";
-
};
-
-
copyparty = {
-
hostName = "nanpi";
-
port = 3210;
-
vHost = "copyparty.${config.mySnippets.tailnet.name}";
-
};
-
-
redlib = {
-
hostName = "nanpi";
-
port = 6605;
-
vHost = "redlib.${config.mySnippets.tailnet.name}";
-
};
-
-
miniflux = {
-
hostName = "nanpi";
-
port = 6540;
-
vHost = "miniflux.${config.mySnippets.tailnet.name}";
-
};
-
-
jellyseerr = {
-
hostName = "nanpi";
-
port = 5055;
-
vHost = "jellyseerr.${config.mySnippets.tailnet.name}";
-
};
-
-
audiobookshelf = {
-
hostName = "nanpi";
-
port = 13378;
-
vHost = "audiobookshelf.${config.mySnippets.tailnet.name}";
};
};
};