15 lines
351 B
Nix
15 lines
351 B
Nix
{ config, lib, pkgs, flakeRoot, ... }:
|
|
let
|
|
repoScript =
|
|
flakeRoot + "/assets/conf/desktop/hypr/scripts/powermenu.sh";
|
|
targetRel = "hypr/scripts/powermenu.sh";
|
|
in
|
|
{
|
|
# Ensure script exists in ~/.config/hypr/scripts/
|
|
xdg.configFile."${targetRel}" = {
|
|
source = lib.mkForce repoScript;
|
|
backup = lib.mkForce false;
|
|
executable = true;
|
|
};
|
|
}
|