xdg.userDirs: don’t require Linux

Everything here works on Darwin, etc.
This commit is contained in:
Greg Pfeil 2025-10-07 22:31:23 -06:00 committed by Austin Horstman
parent 689e4a3423
commit 7c47cafa90
3 changed files with 1 additions and 5 deletions

View file

@ -126,10 +126,6 @@ in
// cfg.extraConfig;
in
lib.mkIf cfg.enable {
assertions = [
(lib.hm.assertions.assertPlatform "xdg.userDirs" pkgs lib.platforms.linux)
];
xdg.configFile."user-dirs.dirs".text =
let
# For some reason, these need to be wrapped with quotes to be valid.