aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/by-name/xd/xdg/module.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/by-name/xd/xdg/module.nix b/modules/by-name/xd/xdg/module.nix
index c2d60f3b..9430d82f 100644
--- a/modules/by-name/xd/xdg/module.nix
+++ b/modules/by-name/xd/xdg/module.nix
@@ -41,15 +41,15 @@
};
cfg = config.soispha.xdg;
+
+ inherit (config.home-manager.users.soispha.home) homeDirectory;
in {
options.soispha.xdg = {
enable = lib.mkEnableOption "xdg";
};
config = lib.mkIf cfg.enable {
- home-manager.users.soispha.xdg = let
- inherit (config.home-manager.users.soispha.home) homeDirectory;
- in {
+ home-manager.users.soispha.xdg = {
enable = true;
configFile."xdg-desktop-portal-termfilechooser/config".source = tfcConfigFile;