1
Fork 0

kde: optimize some stuff

This commit is contained in:
caem 2024-12-15 01:29:38 +01:00
parent 3012c73e82
commit 16c91e0c9d
Signed by: caem
GPG key ID: 69A830D03203405F
3 changed files with 9 additions and 7 deletions

View file

@ -14,8 +14,6 @@
home.username = "hu"; home.username = "hu";
home.homeDirectory = "/home/hu"; home.homeDirectory = "/home/hu";
home.stateVersion = config.system.stateVersion; home.stateVersion = config.system.stateVersion;
xdg.enable = true;
}; };
}; };

View file

@ -19,7 +19,6 @@ in {
]; ];
environment.persistence."/nix/persist".users.hu.directories = [ environment.persistence."/nix/persist".users.hu.directories = [
# https://github.com/nix-community/plasma-manager/issues/172
".local/share/konsole" ".local/share/konsole"
".local/share/kwalletd" ".local/share/kwalletd"
".local/share/baloo" ".local/share/baloo"
@ -28,7 +27,7 @@ in {
environment.persistence."/nix/persist".users.hu.files = [ environment.persistence."/nix/persist".users.hu.files = [
".config/konsolerc" ".config/konsolerc"
".config/kwinoutputconfig.json" ".config/kwinoutputconfig.json" # https://github.com/nix-community/plasma-manager/issues/172
".local/state/konsolestaterc" ".local/state/konsolestaterc"
]; ];
@ -41,7 +40,6 @@ in {
GBM_BACKEND = "nvidia-drm"; GBM_BACKEND = "nvidia-drm";
__GLX_VENDOR_LIBRARY_NAME = "nvidia"; __GLX_VENDOR_LIBRARY_NAME = "nvidia";
NVD_BACKEND = "direct"; NVD_BACKEND = "direct";
MOZ_DISABLE_RDD_SANDBOX = 1;
NIXOS_OZONE_WL = 1; NIXOS_OZONE_WL = 1;
}; };
@ -65,6 +63,7 @@ in {
background=${sddm-background-drv} background=${sddm-background-drv}
'') '')
networkmanager-openvpn networkmanager-openvpn
wl-clipboard
]; ];
home-manager.users.hu = { 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 = { theme = {
name = "Breeze"; name = "Breeze";
package = pkgs.kdePackages.breeze-gtk; package = pkgs.kdePackages.breeze-gtk;
@ -90,7 +91,7 @@ in {
panels = [ panels = [
{ {
location = "bottom"; location = "left";
floating = true; floating = true;
widgets = [ widgets = [
{ {
@ -114,6 +115,7 @@ in {
digitalClock = { digitalClock = {
calendar.firstDayOfWeek = "monday"; calendar.firstDayOfWeek = "monday";
time.format = "24h"; time.format = "24h";
date.enable = false;
}; };
} }
"org.kde.plasma.showdesktop" "org.kde.plasma.showdesktop"

View file

@ -15,6 +15,8 @@
# Neovim # Neovim
set-option -sg escape-time 10 set-option -sg escape-time 10
set-option -g focus-events on 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 # vi mode
set -g mode-keys vi set -g mode-keys vi