xdg.userDirs: don’t require Linux
Everything here works on Darwin, etc.
This commit is contained in:
parent
689e4a3423
commit
7c47cafa90
3 changed files with 1 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue