Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions submodule-options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -187,16 +187,16 @@ let
}
({ config, ... }:
let
home = if config.home != null then config.home else "/";
parentPath = if config.home != null then config.home else "/";
directory = dirOf config.file;
in
{
parentDirectory = {
dirPath = concatPaths [ home directory ];
inherit directory defaultPerms home;
inherit (config) persistentStoragePath;
dirPath = concatPaths [ parentPath directory ];
inherit directory defaultPerms;
inherit (config) home persistentStoragePath;
};
filePath = concatPaths [ home config.file ];
filePath = concatPaths [ parentPath config.file ];
})
];
dir = submodule ([
Expand Down