From 16c91e0c9d30e961ba25db7705c34ef37fb34fb3 Mon Sep 17 00:00:00 2001 From: caem Date: Sun, 15 Dec 2024 01:29:38 +0100 Subject: [PATCH] kde: optimize some stuff --- home/default.nix | 2 -- modules/desktop/environments/kde.nix | 12 +++++++----- modules/packages/tmux.nix | 2 ++ 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/home/default.nix b/home/default.nix index 4e3f971..547ccc6 100644 --- a/home/default.nix +++ b/home/default.nix @@ -14,8 +14,6 @@ home.username = "hu"; home.homeDirectory = "/home/hu"; home.stateVersion = config.system.stateVersion; - - xdg.enable = true; }; }; diff --git a/modules/desktop/environments/kde.nix b/modules/desktop/environments/kde.nix index c79161d..3a89ad0 100644 --- a/modules/desktop/environments/kde.nix +++ b/modules/desktop/environments/kde.nix @@ -19,7 +19,6 @@ in { ]; environment.persistence."/nix/persist".users.hu.directories = [ - # https://github.com/nix-community/plasma-manager/issues/172 ".local/share/konsole" ".local/share/kwalletd" ".local/share/baloo" @@ -28,7 +27,7 @@ in { environment.persistence."/nix/persist".users.hu.files = [ ".config/konsolerc" - ".config/kwinoutputconfig.json" + ".config/kwinoutputconfig.json" # https://github.com/nix-community/plasma-manager/issues/172 ".local/state/konsolestaterc" ]; @@ -41,7 +40,6 @@ in { GBM_BACKEND = "nvidia-drm"; __GLX_VENDOR_LIBRARY_NAME = "nvidia"; NVD_BACKEND = "direct"; - MOZ_DISABLE_RDD_SANDBOX = 1; NIXOS_OZONE_WL = 1; }; @@ -65,6 +63,7 @@ in { background=${sddm-background-drv} '') networkmanager-openvpn + wl-clipboard ]; home-manager.users.hu = { @@ -74,7 +73,9 @@ in { }; }; - gtk = { enable = true; + gtk = { + gtk2.configLocation = "/home/hu/.config/gtk-2.0/gtkrc"; + enable = true; theme = { name = "Breeze"; package = pkgs.kdePackages.breeze-gtk; @@ -90,7 +91,7 @@ in { panels = [ { - location = "bottom"; + location = "left"; floating = true; widgets = [ { @@ -114,6 +115,7 @@ in { digitalClock = { calendar.firstDayOfWeek = "monday"; time.format = "24h"; + date.enable = false; }; } "org.kde.plasma.showdesktop" diff --git a/modules/packages/tmux.nix b/modules/packages/tmux.nix index 4618e73..960e832 100644 --- a/modules/packages/tmux.nix +++ b/modules/packages/tmux.nix @@ -15,6 +15,8 @@ # Neovim set-option -sg escape-time 10 set-option -g focus-events on + # https://stackoverflow.com/questions/60309665/neovim-colorscheme-does-not-look-right-when-using-nvim-inside-tmux#comment124479399_60313682 + set-option -ga terminal-overrides ",xterm-256color:Tc" # vi mode set -g mode-keys vi