From beefc47a4f90974068b64497a05340d0ab245b35 Mon Sep 17 00:00:00 2001 From: Rafiyq Widianto Date: Fri, 18 Sep 2020 05:25:51 +0000 Subject: [PATCH] Add gtk and xdg configuration --- modules/{base.nix => hardware.nix} | 0 users/misc.nix | 20 +++++++++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) rename modules/{base.nix => hardware.nix} (100%) diff --git a/modules/base.nix b/modules/hardware.nix similarity index 100% rename from modules/base.nix rename to modules/hardware.nix diff --git a/users/misc.nix b/users/misc.nix index a4b4b8c..d8eb4a3 100644 --- a/users/misc.nix +++ b/users/misc.nix @@ -1,12 +1,21 @@ -{ config, lib, pkgs, ... }: +{ config, lib, pkgs, ... }: { -{ home-manager.users.rafiyq = { gtk = { enable = true; - font = { name = "Noto Sans 11"; package = pkgs.noto-fonts; }; - iconTheme = { name = "Yaru"; package = pkgs.yaru-theme; }; - theme = { name = "Yaru"; package = pkgs.yaru-theme; }; + font = { + name = "Noto Sans 11"; + package = pkgs.noto-fonts; + }; + iconTheme = { + name = "Yaru"; + package = pkgs.yaru-theme; + }; + theme = { + name = "Yaru"; + package = pkgs.yaru-theme; + }; + #gtk2.extraConfig = { }; gtk3.extraConfig = { gtk-xft-antialias = 1; gtk-xft-hinting = 1; @@ -17,6 +26,7 @@ xdg = { enable = true; userDirs.enable = true; + mimeApps.enabel = true; }; }; }