aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/xd
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-14 01:45:27 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-14 01:45:27 +0200
commitee78b49483aeca613d42b10335eb19bdc7f65022 (patch)
treeed0c5be489deae5621b1d5a43aa4927e3534ce32 /modules/by-name/xd
parentinputs.nix: Switch to lanzaboote master (diff)
downloadnixos-config-ee78b49483aeca613d42b10335eb19bdc7f65022.zip
modules/xdg: Re-order let .. in block
Diffstat (limited to 'modules/by-name/xd')
-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;