1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 16:38:34 +02:00

xdg-user-dirs: fix typo in option name

Fixes #985
PR #987
This commit is contained in:
0x6d6178 2020-01-13 10:48:07 +01:00 committed by Robert Helgesson
parent 4b04050953
commit c8323a0bf1
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -11,6 +11,12 @@ in
{
meta.maintainers = with maintainers; [ pacien ];
imports = [
(mkRenamedOptionModule
[ "xdg" "userDirs" "publishShare" ]
[ "xdg" "userDirs" "publicShare" ])
];
options.xdg.userDirs = {
enable = mkOption {
type = types.bool;
@ -56,7 +62,7 @@ in
description = "The Pictures directory.";
};
publishShare = mkOption {
publicShare = mkOption {
type = types.str;
default = "$HOME/Public";
description = "The Public share directory.";
@ -90,7 +96,7 @@ in
XDG_DOWNLOAD_DIR = cfg.download;
XDG_MUSIC_DIR = cfg.music;
XDG_PICTURES_DIR = cfg.pictures;
XDG_PUBLICSHARE_DIR = cfg.publishShare;
XDG_PUBLICSHARE_DIR = cfg.publicShare;
XDG_TEMPLATES_DIR = cfg.templates;
XDG_VIDEOS_DIR = cfg.videos;
}