summaryrefslogtreecommitdiff
path: root/hm
diff options
context:
space:
mode:
Diffstat (limited to 'hm')
-rw-r--r--hm/conf/xdg-dirs.nix1
-rw-r--r--hm/env/theme.nix18
-rw-r--r--hm/soft/chat.nix18
-rw-r--r--hm/soft/nixcord.nix6
-rw-r--r--hm/soft/soft.nix1
5 files changed, 36 insertions, 8 deletions
diff --git a/hm/conf/xdg-dirs.nix b/hm/conf/xdg-dirs.nix
index 3a37e6a..f0e346b 100644
--- a/hm/conf/xdg-dirs.nix
+++ b/hm/conf/xdg-dirs.nix
@@ -16,6 +16,7 @@ in
xdg.userDirs = {
enable = true;
createDirectories = true;
+ setSessionVariables = true;
download = "${config.home.homeDirectory}/dl";
documents = "${config.home.homeDirectory}/dc";
diff --git a/hm/env/theme.nix b/hm/env/theme.nix
index 285e263..743f362 100644
--- a/hm/env/theme.nix
+++ b/hm/env/theme.nix
@@ -1,4 +1,9 @@
-{ config, lib, pkgs, ... }:
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}:
let
cfg = config.hm.env.themes;
in
@@ -17,9 +22,11 @@ in
(lib.mkIf cfg.gtk.enable {
gtk = {
enable = true;
+ gtk4.theme = config.gtk.theme;
+
gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
gtk4.extraConfig.gtk-application-prefer-dark-theme = 1;
-
+
theme = {
name = "Adwaita-dark";
package = pkgs.gnome-themes-extra;
@@ -30,8 +37,11 @@ in
(lib.mkIf cfg.qt.enable {
qt = {
enable = true;
- platformTheme.name = "gtk";
- style.name = "adwaita-dark";
+ platformTheme.name = "qtct";
+ style = {
+ name = "adwaita-dark";
+ package = pkgs.adwaita-qt;
+ };
};
})
];
diff --git a/hm/soft/chat.nix b/hm/soft/chat.nix
new file mode 100644
index 0000000..61c1f92
--- /dev/null
+++ b/hm/soft/chat.nix
@@ -0,0 +1,18 @@
+{
+ config,
+ pkgs,
+ lib,
+ ...
+}:
+let
+ cfg = config.hm.soft.chat;
+in
+{
+ options.hm.soft.chat.enable = lib.mkEnableOption "chatting apps";
+ config = lib.mkIf cfg.enable {
+ home.packages = with pkgs; [
+ equibop
+ gajim
+ ];
+ };
+}
diff --git a/hm/soft/nixcord.nix b/hm/soft/nixcord.nix
index bd43501..ee732e8 100644
--- a/hm/soft/nixcord.nix
+++ b/hm/soft/nixcord.nix
@@ -14,13 +14,11 @@ in
options.hm.soft.nixcord.enable = lib.mkEnableOption "nixcord configuration";
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
- stoat-desktop
- element-desktop
- gajim
equibop
+ gajim
];
programs.nixcord = {
- # enable = true;
+ enable = true;
discord = {
enable = true;
autoscroll.enable = true;
diff --git a/hm/soft/soft.nix b/hm/soft/soft.nix
index f6a9a69..0bbe0cf 100644
--- a/hm/soft/soft.nix
+++ b/hm/soft/soft.nix
@@ -2,6 +2,7 @@
{
imports = [
./browser.nix
+ ./chat.nix
./email.nix
./kdenlive.nix
./mangohud.nix