hyprpaper booting

This commit is contained in:
Barrett Ruth 2026-02-11 15:59:35 -05:00
parent 21382e22a0
commit d7f018939f
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
3 changed files with 54 additions and 54 deletions

View file

@ -1,25 +1,26 @@
{
lib,
pkgs,
config,
isNixOS,
...
}:
{
programs.hyprlock = {
enable = true;
package = lib.mkIf (!isNixOS) null;
settings = {
general = {
hide_cursor = true;
grace = 0;
};
background = [
{
monitor = "";
path = "~/img/screen/lock.jpg";
}
];
animations.enabled = false;
};
};
home.packages = [ pkgs.hyprlock ];
xdg.configFile."hypr/hyprlock.conf".text = ''
general {
hide_cursor = true
grace = 0
}
background {
monitor =
path = ${config.home.homeDirectory}/img/screen/lock.jpg
}
animations {
enabled = false
}
'';
}