refactor
This commit is contained in:
parent
fc389370f4
commit
f900ad61f5
1 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
let
|
||||
cfg = config.snowhawk.projects;
|
||||
|
||||
link = config.lib.file.mkOutOfStoreSymlink;
|
||||
in
|
||||
{
|
||||
options.snowhawk.projects = {
|
||||
|
@ -9,6 +11,6 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.file.projects.source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/Documents/projects/";
|
||||
home.file.projects.source = link "${config.home.homeDirectory}/Documents/projects/";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue