This commit is contained in:
Zynh Ludwig 2024-06-27 15:11:26 -07:00
parent fc389370f4
commit f900ad61f5

View file

@ -2,6 +2,8 @@
let let
cfg = config.snowhawk.projects; cfg = config.snowhawk.projects;
link = config.lib.file.mkOutOfStoreSymlink;
in in
{ {
options.snowhawk.projects = { options.snowhawk.projects = {
@ -9,6 +11,6 @@ in
}; };
config = lib.mkIf cfg.enable { 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/";
}; };
} }