This commit is contained in:
js0ny 2025-11-23 15:09:52 +00:00
parent 85b644c512
commit b76d8a0337
14 changed files with 83 additions and 18 deletions

View file

@ -1,5 +1,6 @@
tavily_api: ENC[AES256_GCM,data:2hdsutsj0mqytujPIF1t1gpfSE7ym4WV2/lDbdLUw4yyLv7Rfvgtww8=,iv:kIYZ7ETQtQzyf2ymsgSTrvOh00qLQt6715SEi3dqxt4=,tag:M4qTgeoMlcnfh7D418ppfQ==,type:str]
openrouter_api: ENC[AES256_GCM,data:XmsmgAEdiYP90JHnKmdy/jzgaFhmoU/wdYqxahIZ3NMZshgGIWv/fq7apOH8bh+yTytiIMrOdGGP1LZRHWVMeTqoDnWAimpweA==,iv:m2qykUpt9qE4ZAIHzQ0qhFUqEhPG6TiuVZWK+kOP2fg=,tag:Jtr/s17DJMVW215sh2/6+Q==,type:str]
anki_sync_key: ENC[AES256_GCM,data:58zVvhbW6DS+CaxYHBUh5w==,iv:f8XOGMHS72p8cEVuburgsWBOpkw+axNjyP09NR4P3lo=,tag:UZzrdhnEfxtxCZwviEM+4g==,type:str]
sops:
age:
- recipient: age1z2km2vu3mw6usw8p2rhjzkugddmsvk0ypwjw76cscyy3ar3tnufqtrv3nu
@ -20,7 +21,7 @@ sops:
MlBBYzA4bWkyOFNzWlFWbWhDMU9VSG8KJGAr3Gjg6+1OUC+d8+Yu+AW+zzfQ2MtX
7RzIvGv4R3YtAHlX79BcIT6XwGMXVIF86Fu2QOoU7u8o4wpyAt0CXA==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2025-11-21T08:42:38Z"
mac: ENC[AES256_GCM,data:JIfTM+8G+GLRoIIOSQaJPhg2/12Gqyf5thTuvs1EiL9sdG/J3DFkgpS9sE98FGqQDFHvqrKy+PcxuoAv0nRl99ftspi2Y5oiU3oqIzeDlyMRCaIITtZiWWhSr02LbD5MwkYjlk5mGWDg+GPisfUinY+cxZkmI8Ny1KZKAPr1rJE=,iv:mDOYhCJH1ODy7H8P/5sLBYxwxKCrsowTNirEU0BV+bw=,tag:QOjaXmwbrBhA8Y9VVihhzQ==,type:str]
lastmodified: "2025-11-23T15:05:53Z"
mac: ENC[AES256_GCM,data:VBgIJR2RJpaB8sSO/BhNbBdU8QYk2csS07a4mCSBJGonuT9iO3mLr65uTI76uayZS/2uiDCYUMGR635IlBhAc8pvy/bif8FCheVNestUjJeppS44fjatS+Wz+i6hz3ED9ECpEFlgoqi31uG0hzPeECinVXKDZr3o0JJmw4s7ZM8=,iv:0D4YD8C0rtXmJ+Qv7rzMWUJ2CaUogP6sQk6GEJFpnSo=,tag:nlT55c7ikMqq2TImVp9cSA==,type:str]
unencrypted_suffix: _unencrypted
version: 3.11.0

View file

@ -63,6 +63,10 @@
yt-dlp
asciinema
ansi2html
httpie
gron
jless
unar
]
++ (
if pkgs.stdenv.isDarwin

View file

@ -93,13 +93,10 @@ in {
kdePackages.kdenlive
gimp
steam-run
bottles
lutris
rustdesk
kdePackages.krdc
remmina
kdePackages.breeze
zotero
anki-bin
feishin
bruno
bruno-cli
@ -109,11 +106,11 @@ in {
logisim-evolution
onlyoffice-desktopeditors
wayland-bongocat
kdePackages.qttools
antigravity
]
++ (mkFcitxIM [
pkgs.neovim-qt
pkgs.anki
])
++ (mkElectronWayland [
pkgs.ticktick
@ -132,4 +129,5 @@ in {
];
services.protonmail-bridge.enable = true;
services.remmina.enable = true;
}

View file

@ -5,7 +5,7 @@
model = "openrouter:qwen/qwen3-235b-a22b-2507";
clients = [
{
type = "openai-compatbile";
type = "openai-compatible";
name = "openrouter";
api_base = "https://openrouter.ai/api/v1";
models = [

View file

@ -1,4 +1,8 @@
{pkgs, ...}: {
{
pkgs,
config,
...
}: {
home.sessionVariables.ANKI_WAYLAND = 1;
programs.anki = {
enable = true;
@ -7,5 +11,11 @@
review-heatmap
recolor
];
sync = {
autoSync = true;
autoSyncMediaMinutes = 15;
username = "ankiweb.unusable450@passmail.net";
keyFile = config.sops.secrets."ANKI_SYNC_KEY".path;
};
};
}

View file

@ -48,6 +48,9 @@
app-id = "^org.kde.(ark|dolphin)$";
title = "^Extracting";
}
{
app-id = "^steam$";
}
];
open-focused = false;
default-floating-position = {
@ -122,6 +125,7 @@
{
matches = [
{app-id = "^org.kde.krdc$";}
{app-id = "^org.remmina.Remmina$";}
{app-id = "^\.virt-manager-wrapped$";}
{title = "^🌐 ssh.*";}
];

View file

@ -115,7 +115,7 @@ in {
};
home-manager = {
name = "Home Manager Options";
urls = [{template = "https://home-manager-options.extranix.com/?query={searchTerms}";}];
urls = [{template = "https://home-manager-options.extranix.com/?query={searchTerms}&release=master";}];
icon = "https://nixos.org/favicon.ico";
definedAliases = ["hm"];
};

View file

@ -0,0 +1,27 @@
{pkgs, ...}: let
virt-manager-view-fzf = pkgs.writeShellScriptBin "virt-manager-view-fzf" ''
#!/usr/bin/env bash
VM=$(virsh --connect qemu:///system list --name --state-running | sed '/^$/d' | fzf --height=20% --border --prompt="Select VM > ")
if [ -n "$VM" ]; then
echo "Opening console for $VM..."
virt-manager --connect qemu:///system --show-domain-console "$VM" &>/dev/null &
else
echo "No VM selected."
fi
'';
devs = [
"0bda:9210" # Realtek Semiconductor Corp. RTL9210 M.2 NVME Adapter
];
in {
home.packages = with pkgs; [
virt-manager-view-fzf
remmina
];
xdg.configFile."libvirt/libvirt.conf" = {
text = ''uri_default = "qemu:///system"'';
enable = true;
};
}

View file

@ -180,7 +180,7 @@ in {
/Library/Input\ Methods/Squirrel.app/Contents/MacOS/Squirrel --reload
''
else
lib.hm.entryAfter ["writeBoundary"] ''
qdbus org.fcitx.Fcitx5 /controller org.fcitx.Fcitx.Controller1.SetConfig "fcitx://onfig/addon/rime/deploy" ""
lib.hm.dag.entryAfter ["writeBoundary"] ''
# ${pkgs.kdePackages.qttools}/bin/qdbus org.fcitx.Fcitx5 /controller org.fcitx.Fcitx.Controller1.SetConfig "fcitx://onfig/addon/rime/deploy" ""
'';
}

View file

@ -0,0 +1,9 @@
{...}: {
programs.carapace = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
enableFishIntegration = true;
enableNushellIntegration = true;
};
}

View file

@ -3,7 +3,10 @@
in {
programs.nushell = {
enable = true;
shellAliases = aliases;
shellAliases = {
"la" = "ls -a";
"lt" = "lsd --tree";
};
extraConfig = ''
$env.config.show_banner = false
'';

View file

@ -39,6 +39,9 @@ in {
"TAVILY_API_KEY" = {
key = "tavily_api";
};
"ANKI_SYNC_KEY" = {
key = "anki_sync_key";
};
};
};

View file

@ -0,0 +1,7 @@
{pkgs, ...}: {
home.packages = with pkgs; [
protontricks
bottles
lutris
];
}

View file

@ -18,6 +18,8 @@
./programs/shell/bash.nix
./programs/shell/zsh.nix
./programs/shell/fish.nix
./programs/shell/nu.nix
./programs/shell/carapace.nix
./programs/shell/direnv.nix
# Personal Program
@ -53,6 +55,8 @@
./programs/aichat.nix
./programs/tmux.nix
./programs/kitty.nix
./programs/wine.nix
./programs/anki.nix
# Desktop Linux
./programs/desktop/plasma
@ -80,10 +84,5 @@
keyboardBacklightStep = "1";
};
xdg.configFile."libvirt/libvirt.conf" = {
text = ''uri_default = "qemu:///system"'';
enable = true;
};
home.stateVersion = "25.05";
}