refactor
parent
fc389370f4
commit
f900ad61f5
|
@ -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 New Issue