feat: variable-based path interpolated hyprpaper config UNTESTED

This commit is contained in:
Zhongheng Liu 2024-08-09 16:15:06 +08:00
commit 362d2098bf
4 changed files with 38 additions and 7 deletions

View file

@ -0,0 +1,15 @@
{pkgs, config, lib, ...}:
{
options = with lib; with types; {
myWallPaperPathString = { type = str; };
myUserName = { type = str; };
myDisplayName = { type = str; };
myEmail = { type = str; };
};
config = rec {
myUserName = "stvnliu";
myWallPaperPathString = "/home/${config.myUserName}/wallpaper.png";
myDisplayName = "Zhongheng Liu";
myEmail = "z.liu@outlook.com.gr";
};
}