forked from foxora/nix
init
This commit is contained in:
commit
850d3c539b
66 changed files with 6115 additions and 0 deletions
41
homes/modules/de/hyprlock/hyprlock.nix
Normal file
41
homes/modules/de/hyprlock/hyprlock.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ config, inputs, pkgs, ... }:
|
||||
let
|
||||
unstable = inputs.nixpkgs-unstable.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
||||
in
|
||||
{
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
|
||||
# load the theme colors
|
||||
extraConfig = ''
|
||||
source = ./colors.conf
|
||||
source = ./hyprlock/theme.conf
|
||||
'';
|
||||
|
||||
settings = {
|
||||
general = {
|
||||
disable_loading_bar = true;
|
||||
hide_cursor = true;
|
||||
immediate_render = true;
|
||||
};
|
||||
|
||||
background = [
|
||||
{
|
||||
monitor = "";
|
||||
|
||||
path = "screenshot";
|
||||
blur_passes = 3;
|
||||
blur_size = 4;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# extra hyprlock config for organisation
|
||||
# writes ./hypr to ~/.config/hypr/hyprlock
|
||||
xdg.configFile."hypr/hyprlock" = {
|
||||
recursive = true;
|
||||
source = ./hypr;
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue