feat: vicinae, update servers

This commit is contained in:
Kat Inskip 2025-12-09 05:34:53 -08:00
parent 0e91b2184d
commit edd507c0ec
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
20 changed files with 188 additions and 187 deletions

View file

@ -1,19 +1,8 @@
{
config,
lib,
...
}: let
{config, ...}: let
cfg = config.programs.anyrun;
inherit (lib.meta) getExe;
in {
programs.niri.settings.binds = {
"Mod+D".action = let
sh = config.lib.niri.actions.spawn "sh" "-c";
in
sh (getExe cfg.package);
};
programs.anyrun = {
enable = true;
enable = false;
config = {
x = {fraction = 0.5;};
y = {fraction = 0.3;};

View file

@ -36,6 +36,7 @@ in {
personalBindings = {
"Mod+Return".action = sh ''${getExe config.programs.alacritty.package}'';
"Mod+T".action.toggle-window-floating = {};
"Mod+D".action = sh ''${getExe config.programs.vicinae.package} toggle'';
#"Mod+D".action = sh ''${getExe config.programs.fuzzel.package} -D no -T "${getExe config.programs.alacritty.package} --command"'';
#"Mod+D".action = sh ''${noctalia} launcher toggle'';
#"Mod+Shift+D".action = sh ''${noctalia} launcher clipboard'';

View file

@ -0,0 +1,31 @@
{
pkgs,
inputs,
...
}: {
home.packages = with pkgs; [
brotab
oath-toolkit
];
programs.vicinae = {
enable = true;
systemd.enable = true;
extensions =
(with inputs.vicinae-extensions.packages.${pkgs.stdenv.hostPlatform.system}; [
bluetooth
nix
mullvad
player-pilot
wifi-commander
ssh
niri
brotab
])
++ [
(inputs.vicinae.packages.${pkgs.stdenv.hostPlatform.system}.mkVicinaeExtension rec {
pname = "vicinae-rbw";
src = inputs.${pname}.outPath;
})
];
};
}

View file

@ -13,7 +13,6 @@
enable = true;
defaultApplications = {
"inode/directory" = "pcmanfm.desktop";
"text/plain" = "nvim.desktop";
};
};
};

View file

@ -28,6 +28,7 @@
sponsorblock
link-cleaner
canvasblocker
brotab
a11ycss
view-image
wappalyzer

View file

@ -1,7 +1,8 @@
{nur, ...}: {
programs.librewolf.profiles.main.extensions = {
packages = with nur.repos.rycee.firefox-addons; [
adnauseam
#adnauseam
ublock-origin
];
settings = {
};

View file

@ -1,20 +1,58 @@
{pkgs, ...}: {
{
pkgs,
lib,
...
}: let
inherit (lib.attrsets) genAttrs;
in {
xdg.mimeApps.defaultApplications = let
genDefault = application: types: genAttrs types (_: application);
imageTypes = map (x: "image/${x}") [
"apng"
"avif"
"bmp"
"gif"
"heic"
"heif"
"jpeg"
"png"
"svg+xml"
"webp"
];
videoTypes = map (x: "video/${x}") [
"AV1"
"H264"
"H265"
"matroska"
"mp4"
"MPV"
"mpeg"
"ogg"
"VP8"
"VP9"
];
imageDefaults = genDefault "imv.desktop" imageTypes;
videoDefaults = genDefault "mpv.desktop" videoTypes;
combinedDefaults = imageDefaults // videoDefaults;
in
combinedDefaults;
home.packages = with pkgs; [
anki
# Task managers
btop
htop
# Imagery
aseprite
imv
gimp
# Chat
telegram-desktop # Telegram
signal-desktop
fluffychat
dino
mumble
keymapp
# Archivery
xarchiver
unzip
zip
p7zip
@ -30,7 +68,5 @@
pwvucontrol
veracrypt
deluge
gimp
xarchiver
];
}

View file

@ -9,6 +9,9 @@
};
};
in {
xdg.mimeApps.defaultApplications = {
"text/plain" = "nvim.desktop";
};
programs.nixvim = {
enable = true;
defaultEditor = true;

View file

@ -14,13 +14,13 @@
jujutsu = {
enable = true;
};
delta = {
enable = true;
};
git = {
inherit (tree.home.user.data) userName userEmail;
package = pkgs.gitFull;
enable = true;
delta = {
enable = true;
};
extraConfig = {
init = {defaultBranch = "main";};
protocol.gcrypt.allow = "always";