Compare commits

...

5 Commits

Author SHA1 Message Date
Lennart J. Kurzweg (Nx2)
04b2b7da33 nx_backup download function 2025-08-31 21:27:26 +02:00
Lennart J. Kurzweg (Nx2)
f4f9e36b16 open firewall for ollama 2025-08-31 21:27:07 +02:00
Lennart J. Kurzweg (Nx2)
99b534a6a5 darker background in w2c 2025-08-31 21:26:17 +02:00
Lennart J. Kurzweg (Nx2)
03131c8a65 youtube rice 2025-08-31 21:25:43 +02:00
Lennart J. Kurzweg (Nx2)
7565b3163a hyperpanel++ 2025-08-31 21:25:28 +02:00
5 changed files with 29 additions and 6 deletions

View File

@@ -75,7 +75,7 @@
"bar.workspaces.applicationIconEmptyWorkspace" = ""; "bar.workspaces.applicationIconEmptyWorkspace" = "";
"bar.workspaces.applicationIconOncePerWorkspace" = false; "bar.workspaces.applicationIconOncePerWorkspace" = false;
"bar.workspaces.numbered_active_indicator" = "underline"; "bar.workspaces.numbered_active_indicator" = "color";
"bar.workspaces.scroll_speed" = 1; "bar.workspaces.scroll_speed" = 1;
"bar.workspaces.showAllActive" = false; "bar.workspaces.showAllActive" = false;
"bar.workspaces.showApplicationIcons" = true; "bar.workspaces.showApplicationIcons" = true;
@@ -259,10 +259,11 @@
"theme.bar.buttons.workspaces.background" = background; "theme.bar.buttons.workspaces.background" = background;
"theme.bar.buttons.workspaces.border" = accent.base; "theme.bar.buttons.workspaces.border" = accent.base;
"theme.bar.buttons.workspaces.hover" = foreground; "theme.bar.buttons.workspaces.hover" = foreground;
"theme.bar.buttons.workspaces.numbered_active_highlighted_text_color" = accent.base; "theme.bar.buttons.workspaces.numbered_active_highlighted" = accent.base;
"theme.bar.buttons.workspaces.numbered_active_highlight_padding" = "0.2em"; "theme.bar.buttons.workspaces.numbered_active_highlighted_text_color" = accent.dark;
"theme.bar.buttons.workspaces.numbered_active_highlight_padding" = "0.4em";
"theme.bar.buttons.workspaces.numbered_active_underline_color" = accent.bright; "theme.bar.buttons.workspaces.numbered_active_underline_color" = accent.bright;
"theme.bar.buttons.workspaces.numbered_inactive_padding" = "0.2em"; "theme.bar.buttons.workspaces.numbered_inactive_padding" = "0.4em";
"theme.bar.buttons.workspaces.occupied" = secondary.base; "theme.bar.buttons.workspaces.occupied" = secondary.base;
"theme.bar.buttons.workspaces.pill.width" = "4em"; "theme.bar.buttons.workspaces.pill.width" = "4em";
"theme.bar.buttons.workspaces.smartHighlight" = true; "theme.bar.buttons.workspaces.smartHighlight" = true;

View File

@@ -194,6 +194,21 @@
background-color: transparent !important; background-color: transparent !important;
} }
} }
@-moz-document domain(youtube.com) {
body, html, div#content, ytd-app, #frosted-glass.with-chipbar.ytd-app, ytd-shorts[is-dark] #cinematic-shorts-scrim.ytd-shorts {
background-color: transparent !important;
}
#background.ytd-masthead, div#background {
background-color: rgba(${rice.lib.hex-to-rgb-comma-string background}, ${builtins.toString rice.transparency}) !important;
backdrop-filter: blur(100px);
}
* {
--yt-spec-base-background: transparent;
--yt-spec-raised-background: rgba(${rice.lib.hex-to-rgb-comma-string background}, ${builtins.toString rice.transparency}) !important;
--yt-spec-menu-background: rgba(${rice.lib.hex-to-rgb-comma-string accent.dark}, ${builtins.toString rice.transparency}) !important;
--yt-spec-inverted-background: rgba(${rice.lib.hex-to-rgb-comma-string secondary.dark}, ${builtins.toString rice.transparency}) !important;
}
}
@-moz-document domain(mynixos.com) { @-moz-document domain(mynixos.com) {
body, html { body, html {

View File

@@ -110,6 +110,12 @@
mkdir $argv mkdir $argv
cd $argv cd $argv
''; '';
nx_backup = let
destination = if hyper.host == "NxNORTH" then "${hyper.home}/shared/" else "${hyper.home}/backups/";
in pkgs.lib.mkIf (hyper.host != "NxACE") ''
set RPATH (curl -s https://${hyper.domain}/latest-backup)
rsync -avz --info=progress2 -e "ssh -p ${builtins.toString secrets.ssh.port}" ${hyper.user}@ssh.${hyper.domain}:"$RPATH" ${destination}
'';
# gpg = ''; # gpg = '';
# set bold \e[1m # set bold \e[1m
# set green \e[32m # set green \e[32m

View File

@@ -139,7 +139,7 @@
weird = alter_hue(ilist=accent, hue=80) weird = alter_hue(ilist=accent, hue=80)
special = alter_hue(ilist=accent, hue=180) special = alter_hue(ilist=accent, hue=180)
foreground = alter_l(accent, 0.9) foreground = alter_l(accent, 0.9)
background = alter_l(accent, 0.1) background = alter_l(accent, 0.05)
d = { d = {
"base": { "base": {

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }@all: with all; { config, pkgs, ... }@all: with all;
{ {
# sops.secrets = { # sops.secrets = {
# "wireless-networking.env" = {}; # "wireless-networking.env" = {};
@@ -15,6 +15,7 @@
}; };
enableIPv6 = true; enableIPv6 = true;
firewall.allowedTCPPorts = [ firewall.allowedTCPPorts = [
(pkgs.lib.mkIf config.services.ollama.enable 11434)
80 80
443 443
8000 8000