mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
25 lines
474 B
Nix
25 lines
474 B
Nix
{
|
|
assembleWrapper,
|
|
pkgs,
|
|
...
|
|
}:
|
|
assembleWrapper {
|
|
basePackage = pkgs.hyprlock;
|
|
|
|
flags = let
|
|
hyprlock-config = pkgs.writeText "hyprlock-config" ''
|
|
background {
|
|
monitor =
|
|
path = screenshot
|
|
blur_size = 4
|
|
blur_passes = 1
|
|
}
|
|
input-field {
|
|
monitor =
|
|
}
|
|
'';
|
|
in [
|
|
"--config"
|
|
hyprlock-config
|
|
];
|
|
}
|