nixos/home/hyprland/hyprlock.nix

13 lines
294 B
Nix

{ config, osConfig, pkgs, ... }: {
home.packages = with pkgs; [
unstable.hyprlock
];
xdg.configFile = {
"hypr/hyprlock.conf" = {
source = config.lib.file.mkOutOfStoreSymlink ./. + "/hyprlock_${osConfig.system.name}.conf";
target = "hypr/hyprlock.conf";
};
};
}