nixos/home/hyprland/hyprlock.nix

17 lines
287 B
Nix
Raw Normal View History

2024-07-17 20:22:04 +00:00
{
config,
osConfig,
pkgs,
...
}:
{
2024-04-21 09:46:33 +00:00
2024-07-17 20:22:04 +00:00
home.packages = with pkgs; [ hyprlock ];
2024-04-21 09:46:33 +00:00
xdg.configFile = {
"hypr/hyprlock.conf" = {
2024-04-22 20:34:14 +00:00
source = config.lib.file.mkOutOfStoreSymlink ./. + "/hyprlock_${osConfig.system.name}.conf";
2024-04-21 09:46:33 +00:00
target = "hypr/hyprlock.conf";
};
};
}