12 lines
365 B
Nix
12 lines
365 B
Nix
# Write an importable nix file that copies a folder from this repo into the store and creates a symlink to a predictible directory in my home file
|
|
{
|
|
lib, pkgs, ...
|
|
}:
|
|
{
|
|
# Copy the entire wallpapers directory into the Nix store and symlink it to ~/wallpapers
|
|
home.file."wallpapers" = {
|
|
source = ../../wallpapers;
|
|
target = "Pictures/wallpapers";
|
|
};
|
|
}
|