From 451ed9928f44a3e0600b4a1dab54874dc99e7f72 Mon Sep 17 00:00:00 2001 From: b12f Date: Thu, 5 Sep 2024 23:26:51 +0200 Subject: [PATCH] modules/graphical: move qt definition --- modules/graphical/default.nix | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/modules/graphical/default.nix b/modules/graphical/default.nix index c35634c..ffc03eb 100644 --- a/modules/graphical/default.nix +++ b/modules/graphical/default.nix @@ -48,24 +48,11 @@ in { xorg.xbacklight ]; - etc = { - "xdg/PubSolar.conf".text = '' - [Qt] - style=GTK+ - ''; - }; - variables = sessionVariables; }; services.getty.autologinUser = psCfg.user.name; - qt = { - enable = true; - platformTheme = "gtk2"; - style = "gtk2"; - }; - # Required for running Gnome apps outside the Gnome DE, see https://nixos.wiki/wiki/GNOME#Running_GNOME_programs_outside_of_GNOME programs.dconf.enable = true; services.udev.packages = with pkgs; [gnome3.gnome-settings-daemon]; @@ -106,6 +93,12 @@ in { wl-mirror ]; + qt = { + enable = true; + platformTheme = "gtk2"; + style = "gtk2"; + }; + home-manager.users."${psCfg.user.name}" = { home.file."xinitrc".source = ./.xinitrc; xdg.configFile."alacritty/alacritty.toml".source = tomlFormat.generate "alacritty.toml" ((import ./alacritty.nix) args);