nixos/user/hyprland/hyprlock.nix

17 lines
287 B
Nix
Raw Permalink Normal View History

2025-01-16 13:59:51 +01:00
{
config,
osConfig,
pkgs,
...
}:
{
home.packages = with pkgs; [ hyprlock ];
xdg.configFile = {
"hypr/hyprlock.conf" = {
source = config.lib.file.mkOutOfStoreSymlink ./. + "/hyprlock_${osConfig.system.name}.conf";
target = "hypr/hyprlock.conf";
};
};
}