From 6447b092a2d983cca1f7faa3db662f79e1bdde37 Mon Sep 17 00:00:00 2001 From: caem Date: Wed, 28 Aug 2024 20:37:55 +0200 Subject: [PATCH] kde: Persist konsole configuration files instead of declaring them The wrapper for the Konsole configuration leaves a lot to be desired and it's not really worth the time trying to get it to work the way I want to by jumping through 700 hoops so I am just going to persist the Konsole files and configure it manually on new installations. The configuration is not rellly critical for anything and it can be set in less than a minute. --- modules/desktop/environments/kde.nix | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/modules/desktop/environments/kde.nix b/modules/desktop/environments/kde.nix index eed77a6..c73b61f 100644 --- a/modules/desktop/environments/kde.nix +++ b/modules/desktop/environments/kde.nix @@ -8,13 +8,11 @@ environment.persistence."/nix/persist".users.hu.directories = [ # https://github.com/nix-community/plasma-manager/issues/172 ".config/kwinoutputconfig.json" + ".local/share/konsole" ]; environment.persistence."/nix/persist".users.hu.files = [ - # Konsole background transparency has to be set manually in - # the profile settings. This ensures that it doesn't have to be - # redone every reboot. - ".local/share/konsole/Breeze.colorscheme" + ".config/konsolerc" ]; environment.sessionVariables = { @@ -147,22 +145,6 @@ }; }; }; - - programs.konsole = { - enable = true; - defaultProfile = "hu"; - extraConfig = { - # MenuBar = "Disabled"; - MainWindow.MenuBar = "Disabled"; - }; - profiles.hu = { - colorScheme = "Breeze"; - font = { - name = "Go Mono Nerd Font"; - size = 12; - }; - }; - }; }; }