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.
|
||||
|
|
|
|||
|
|
@ -4,4 +4,5 @@
|
|||
xdg-mime-disabled = ./mime-disabled.nix;
|
||||
xdg-autostart = ./autostart.nix;
|
||||
xdg-autostart-readonly = ./autostart-readonly.nix;
|
||||
xdg-user-dirs-null = ./user-dirs-null.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
xdg-mime-apps-basics = ./mime-apps-basics.nix;
|
||||
xdg-system-dirs = ./system-dirs.nix;
|
||||
xdg-desktop-entries = ./desktop-entries.nix;
|
||||
xdg-user-dirs-null = ./user-dirs-null.nix;
|
||||
xdg-portal = ./portal.nix;
|
||||
xdg-mime = ./mime.nix;
|
||||
xdg-mime-package = ./mime-packages.nix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue