mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
23 lines
412 B
Nix
23 lines
412 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
|
|
];
|
|
}
|