initial config

This commit is contained in:
matiss
2026-04-20 15:08:47 +00:00
commit 8f4daf76b8
27 changed files with 1458 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# ==========================================
# APPLICATIONS CONFIGURATION
# ==========================================
{ config, pkgs, inputs, ... }:
{
# XDG default applications
xdg.mimeApps = {
enable = true;
defaultApplications = {
"text/html" = "Alacritty.desktop";
"x-scheme-handler/http" = "Alacritty.desktop"; # Override with your browser .desktop
"x-scheme-handler/https" = "Alacritty.desktop";
"text/plain" = "nvim.desktop";
};
};
home.sessionVariables = {
EDITOR = "nvim";
VISUAL = "nvim";
BROWSER = "firefox"; # Placeholder — change to helium if installed
TERMINAL = "alacritty";
# Wayland-native rendering for Electron apps
NIXOS_OZONE_WL = "1";
# Fix Java Swing apps on Wayland
_JAVA_AWT_WM_NONREPARENTING = "1";
};
}