From 214c8badb71c46cf3236e0cf7c7a78550c74fb2d Mon Sep 17 00:00:00 2001 From: joy Date: Wed, 23 Oct 2024 15:47:23 +0200 Subject: [PATCH] move things --- modules/system/homemanger/default.nix | 4 +--- modules/wm/home/misc/default.nix | 8 +++++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/modules/system/homemanger/default.nix b/modules/system/homemanger/default.nix index 84ccd3e..123ce7e 100644 --- a/modules/system/homemanger/default.nix +++ b/modules/system/homemanger/default.nix @@ -1,10 +1,8 @@ { home-manager = { - backupFileExtension = "bak"; + backupFileExtension = "bkp"; users.joy = { programs.home-manager.enable = true; - xresources.path = ".config/.Xresources"; - gtk.gtk2.configLocation = "/home/joy/.config/gtk-2.0/gtkrc"; home = { username = "joy"; homeDirectory = "/home/joy"; diff --git a/modules/wm/home/misc/default.nix b/modules/wm/home/misc/default.nix index b9edb99..328d23e 100644 --- a/modules/wm/home/misc/default.nix +++ b/modules/wm/home/misc/default.nix @@ -1,4 +1,8 @@ -{pkgs, ...}: { +{ + pkgs, + config, + ... +}: { home.packages = with pkgs; [ hyprpicker playerctl @@ -23,4 +27,6 @@ gnome-sound-recorder kdePackages.kdenlive ]; + gtk.gtk2.configLocation = "${config.home.homeDirectory}/.config/gtk-2.0/gtkrc"; + xresources.path = ".config/.Xresources"; }