feat: XDG module

This commit is contained in:
2025-06-17 04:21:41 -06:00
parent da1fda7eda
commit 7b527e27b9
2 changed files with 14 additions and 6 deletions

13
modules/home/xdg.nix Normal file
View File

@@ -0,0 +1,13 @@
{ config, lib, pkgs, ... }:
let cfg = config.sydnix.xdg;
in {
options.sydnix.xdg = {
enable = lib.mkEnableOption "XDG things";
};
config = lib.mkIf cfg.enable {
xdg.enable = true;
home.preferXdgDirectories = true;
};
}