mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 01:31:33 +01:00
Improve wrapper structure
This commit is contained in:
parent
83433f81ea
commit
30c546b57f
20 changed files with 170 additions and 212 deletions
|
|
@ -1,23 +0,0 @@
|
|||
{ 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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue