diff options
| author | adikro <adikro@disroot.org> | 2026-03-26 23:34:00 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-03-26 23:34:00 +0100 |
| commit | 3882a7074df48e348dbd7cc34d81bffc3f062b8f (patch) | |
| tree | 0ed4fde79905da7d26e20d4f214704e146e3509f /hm | |
| parent | 1d40f7be90fa740ce34d7c0873b4acf205bca06a (diff) | |
flake updates
Diffstat (limited to 'hm')
| -rw-r--r-- | hm/conf/xdg-dirs.nix | 1 | ||||
| -rw-r--r-- | hm/env/theme.nix | 18 | ||||
| -rw-r--r-- | hm/soft/chat.nix | 18 | ||||
| -rw-r--r-- | hm/soft/nixcord.nix | 6 | ||||
| -rw-r--r-- | hm/soft/soft.nix | 1 |
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 |
