nixos/home/hyprland/hypridle.nix
Torjus Håkestad 7dcb5f8d02
Some checks failed
pre-commit / pre-commit (push) Failing after 20s
Separate hypridle.conf per host
2024-04-23 08:14:16 +02:00

13 lines
294 B
Nix

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