nixos/home/hyprland/hypridle.nix

13 lines
294 B
Nix
Raw Normal View History

2024-04-23 06:14:16 +00:00
{ config, osConfig, pkgs, ... }: {
2024-04-21 09:46:33 +00:00
home.packages = with pkgs; [
unstable.hypridle
];
xdg.configFile = {
"hypr/hypridle.conf" = {
2024-04-23 06:14:16 +00:00
source = config.lib.file.mkOutOfStoreSymlink ./. + "/hypridle_${osConfig.system.name}.conf";
2024-04-21 09:46:33 +00:00
target = "hypr/hypridle.conf";
};
};
}