This commit is contained in:
4DBug committed 2026-10-15 23:23:46 -05:00
1 parent ef7d441234
commit 9a6bbc26c1
8 files changed
+314 -218

No files matched your search

+3 -3
View File
@@ -1,6 +1,6 @@
{
den.aspects.cosmic = {
nixos = { pkgs, ... }: {
den.aspects.cosmic = { host, ... }: {
nixos = { lib, pkgs, ... }: {
services = {
greetd.enable = true;
@@ -10,7 +10,7 @@
cosmic-greeter.enable = true;
autoLogin = {
enable = true;
enable = host.name == "box";
user = "bug";
};
};
+10 -2
View File
@@ -19,9 +19,9 @@
base0F = "F2CDCD";
};
in {
nixos = { pkgs, ... }: {
homeManager = { pkgs, ... }: {
imports = [
inputs.stylix.nixosModules.stylix
inputs.stylix.homeModules.stylix
];
stylix = {
@@ -36,9 +36,16 @@
name = "Twitter Color Emoji";
package = pkgs.twitter-color-emoji;
};
targets = {
gtk.enable = true;
qt.enable = true;
opencode.enable = false;
};
};
};
/*
homeManager = { config, pkgs, ... }: {
config.stylix = {
targets = {
@@ -46,5 +53,6 @@
};
};
};
*/
};
}
+1 -1
View File
@@ -27,7 +27,7 @@
];
home-manager = {
useGlobalPkgs = true;
#useGlobalPkgs = true;
backupFileExtension = "hm-backup";
};
+49 -7
View File
@@ -8,11 +8,28 @@
in {
den.tunnels = [ "tube" ];
virtualisation.podman.enable = true;
virtualisation.oci-containers = {
backend = "podman";
containers = {
invidious-companion = {
image = "quay.io/invidious/invidious-companion:latest";
ports = [ "127.0.0.1:8282:8282" ];
volumes = [
"companioncache:/var/tmp/youtubei.js:rw"
];
environment = {
# Same as configured on invidious above.
SERVER_SECRET_KEY = companionKey;
};
};
};
};
/*virtualisation.podman.enable = true;
virtualisation.oci-containers.backend = lib.mkDefault "podman";
virtualisation.oci-containers.containers.invidious-companion = {
image = "quay.io/invidious/invidious-companion:latest";
image = "quay.io/invidious/invidious-companion:master-5652eda";
extraOptions = [ "--network=host" "--pull=always" ];
environment = {
@@ -24,8 +41,17 @@
# HTTP_PROXY = "http://proxy.example:3128";
# HTTPS_PROXY = "http://proxy.example:3128";
# NO_PROXY = "127.0.0.1,localhost";
CACHE_DIRECTORY = "/var/tmp";
NETWORKING_VIDEOPLAYBACK_UMP = "false";
NETWORKING_FETCH_RETRY_ENABLED = "true";
NETWORKING_FETCH_RETRY_TIMES = "3";
NETWORKING_FETCH_RETRY_INITIAL_DEBOUNCE = "500"; # ms
NETWORKING_FETCH_RETRY_DEBOUNCE_MULTIPLIER = "2";
#JOBS_YOUTUBE_SESSION_PO_TOKEN_ENABLED = "false";
#YOUTUBE_SESSION_OAUTH_ENABLED = "true";
};
};
};*/
services.invidious = {
enable = true;
@@ -37,24 +63,40 @@
nginx.enable = false;
sig-helper.enable = false;
http3-ytproxy.enable = true;
settings = {
domain = "tube.bug.tools";
https_only = false;
#https_only = false;
external_port = port;
invidious_companion = [
{ private_url = "http://127.0.0.1:${toString companionPort}${companionPath}"; }
{
private_url = "http://localhost:8282/companion";
}
];
invidious_companion_key = companionKey;
continue = true;
local = false;
check_tables = true;
https_only = true;
use_quic = false;
admins = [ "bug" ];
use_pubsub_feeds = false;
captcha_enabled = false;
login_enabled = true;
registration_enabled = true;
statistics_enabled = true;
};
};
systemd.services.invidious = let dep = "podman-invidious-companion.service"; in {
/*systemd.services.invidious = let dep = "podman-invidious-companion.service"; in {
wants = [ dep ];
after = [ dep ];
requires = [ dep ];
};
};*/
};
};
}
+2 -2
View File
@@ -3,8 +3,8 @@
nixos = {
services.flatpak.packages = [
"org.vinegarhq.Sober"
"org.vinegarhq.Vinegar"
# "org.vinegarhq.Vinegar"
];
};
};
}
}
+15
View File
@@ -8,6 +8,21 @@
plugin = [ "opencode-plugin-llama.cpp@latest" "opencode-goal-plugin" "@dietrichgebert/ponytail" ];
provider = {
anthropic = {
options = {
baseURL = "https://claude1.sangg.net/v1";
};
models = {
"claude-opus-5-5" = {
name = "Claude Opus 5.5";
limit = {
context = 1000000;
output = 128000;
};
};
};
};
"llama.cpp" = {
npm = "@ai-sdk/openai-compatible";
name = "llama.cpp";
+6 -8
View File
@@ -1,14 +1,12 @@
{ inputs, ... }: {
den.aspects.ghostty = {
nixos = { pkgs, ... }: {
environment.systemPackages = with pkgs; [
ghostty
];
};
homeManager = { ... }: {
programs.ghostty.settings = {
window-decoration = "none";
programs.ghostty = {
enable = true;
settings = {
window-decoration = "none";
};
};
};
};