We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 63cbf2c + 2b8997f commit 32fbd44Copy full SHA for 32fbd44
pkgs/by-name/hy/hyprlock/package.nix
@@ -64,6 +64,14 @@ gcc14Stdenv.mkDerivation (finalAttrs: {
64
wayland-protocols
65
];
66
67
+ # Install hyprlock config in location upstream looks
68
+ # https://github.com/hyprwm/hyprlock/blob/c976b6a1d135d3743556dc225c80e24918ef1fd5/src/config/ConfigManager.cpp#L185-L191
69
+ # https://github.com/hyprwm/hyprutils/blob/6a8bc9d2a4451df12f5179dc0b1d2d46518a90ab/src/path/Path.cpp#L71-L72
70
+ postInstall = ''
71
+ mkdir -p $out/etc/xdg/hypr
72
+ ln -s $out/share/hypr/hyprlock.conf $out/etc/xdg/hypr/hyprlock.conf
73
+ '';
74
+
75
passthru.updateScript = nix-update-script { };
76
77
meta = {
0 commit comments