shflakjjds

This commit is contained in:
2026-01-27 17:24:31 +00:00
parent 0ad0a3f632
commit 588171dc0a
9 changed files with 23 additions and 48 deletions

View File

@@ -77,3 +77,6 @@
;;
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
;; they are implemented.
(after! lsp-mode
(setq lsp-nix-nil-auto-archive t))

View File

@@ -11,7 +11,6 @@ let
isLaptop = systemName == "laptop";
isPc = systemName == "pc";
hypr-package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
hypr-portal =
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
hypr-split =
@@ -29,7 +28,7 @@ in
{
wayland.windowManager.hyprland = {
enable = window_manager == "hyprland" || window_manager == "all";
package = hypr-package;
package = null; # Use the system package from programs.hyprland to avoid duplicate sessions
portalPackage = hypr-portal;
plugins = [
#pkgs.hyprlandPlugins.hyprsplit
@@ -51,9 +50,7 @@ in
exec-once = [
# "waybar"
# "quickshell"
#"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
"${pkgs.kdePackages.polkit-kde-agent-1}/libexec/polkit-kde-authentication-agent-1"
"${pkgs.kdePackages.kwallet-pam}/libexec/pam_kwallet_init"
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
"fcitx5 -d"
"foot -s"
"systemctl --user import-environment DBUS_SESSION_BUS_ADDRESS WAYLAND_DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP QT_QPA_PLATFORMTHEME GTK_THEME"

View File

@@ -89,10 +89,6 @@ in
# Startup programs (aligned with hyprland exec-once)
spawn-at-startup = [
{ command = [ "xwayland-satellite" ]; }
{
command = [ "${pkgs.kdePackages.polkit-kde-agent-1}/libexec/polkit-kde-authentication-agent-1" ];
}
{ command = [ "${pkgs.kdePackages.kwallet-pam}/libexec/pam_kwallet_init" ]; }
{
command = [
"fcitx5"
@@ -310,6 +306,16 @@ in
# Window rules
window-rules = [
#{
# matches = [
# { app-id = "firefox"; }
# { app-id = "thunar"; }
# { app-id = "vesktop"; }
# ];
# default-column-width = {
# proportion = 0.95;
# };
#}
# Float file dialogs
{
matches = [