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

@ -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";
}