mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
32 lines
731 B
Nix
32 lines
731 B
Nix
{ inputs, pkgs, ... }:
|
|
(inputs.wrapper-manager.lib {
|
|
inherit pkgs;
|
|
modules = [
|
|
{
|
|
wrappers.hyprlock = {
|
|
basePackage = pkgs.hyprlock;
|
|
flags =
|
|
let
|
|
hyprlock-config = pkgs.writeText "hyprlock-config" ''
|
|
general {
|
|
no_fade_in = true
|
|
}
|
|
background {
|
|
monitor =
|
|
path = ~/Pictures/.wallpaper
|
|
blur_size = 4
|
|
blur_passes = 1
|
|
}
|
|
input-field {
|
|
monitor =
|
|
}
|
|
'';
|
|
in
|
|
[
|
|
"--config"
|
|
hyprlock-config
|
|
];
|
|
};
|
|
}
|
|
];
|
|
}).config.wrappers.hyprlock.wrapped
|