1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00
home-manager/modules
Thiago Kenji Okada 32376992f7
qt: add "kde" to qt.platformTheme (#4085)
This allow you to configure Qt integration using KDE instead of
qgnomeplatform or qtstyleplugins. Useful if your theme supports both GTK
and KDE, for example Nordic.

To use this properly you will need to do some manual configuration for
now. You can set the theme settings using `~/.config/kdeglobals`.

Example:

```nix
{ ... }:
{
  qt = {
    enable = true;
    platformTheme = "kde";
  };

  xdg = {
    configFile.kdeglobals.text = lib.generators.toINI { } {
      General = {
        ColorScheme = "nordicbluish";
        Name = "nordic-bluish";
        shadeSortColumn = true;
      };
      Icons = {
        Theme = "Nordic-bluish";
      };
      KDE = {
        LookAndFeelPackage = "Nordic-bluish";
        contrast = 4;
      };
    };

    dataFile = {
      # For General.ColorScheme
      color-schemes = {
        source = "${pkgs.nordic}/share/color-schemes";
        recursive = true;
      };
      # For KDE.LookAndFeelPackage
      plasma = {
        source = "${pkgs.nordic}/share/plasma";
        recursive = true;
      };
    };
  };
}
```
2023-06-14 21:16:20 +02:00
..
accounts Add infrastructure for contacts and calendars (#4078) 2023-06-12 23:21:24 +02:00
config home-cursor: follow xdg spec for icons folder (#3851) 2023-04-11 22:41:48 +02:00
i18n/input-method im/fcitx: drop as fcitx 4 has been removed from nixpkgs (#3804) 2023-03-25 15:32:31 +01:00
launchd launchd: sync option definition with nix-darwin 2023-03-25 23:59:58 +01:00
lib programs.joshuto: add the joshuto file manager (#4004) 2023-06-12 12:02:09 +02:00
lib-bash home-manager: verify username and home directory 2023-05-27 09:14:05 +02:00
misc qt: add "kde" to qt.platformTheme (#4085) 2023-06-14 21:16:20 +02:00
po Translate using Weblate (Japanese) 2023-06-13 16:31:55 +02:00
programs thunderbird: support aliases 2023-06-14 08:31:26 +02:00
services Add infrastructure for contacts and calendars (#4078) 2023-06-12 23:21:24 +02:00
targets treewide: fix typos 2022-12-05 12:58:02 +01:00
default.nix Add lib argument to homeManagerConfiguration (#2753) 2022-04-17 18:14:41 -04:00
files.nix lib/file-type: fix xrefs (#4007) 2023-05-22 22:48:23 +02:00
home-environment.nix fish: use babelfish for hm-session-vars.sh (#4012) 2023-06-01 00:01:27 +02:00
manual.nix format: update and remove exceptions (#3029) 2022-06-16 14:13:06 +02:00
modules.nix vdirsyncer: Add missing include of services module (#4089) 2023-06-13 16:31:49 +02:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd.nix systemd: accept derivations as values for systemd options (#3974) 2023-05-11 15:50:37 +02:00
xresources.nix Replace usage of literalExample 2021-10-13 00:16:10 +02:00
xsession.nix xsession: cleanup systemd variables (#3636) 2023-05-07 23:59:56 +02:00