NixOS-Configuration/common/users/cameron/home-manager/swaylock.nix

13 lines
299 B
Nix
Raw Normal View History

{ pkgs, lib, osConfig, ... }:
{
programs.swaylock = {
enable = builtins.elem "hyprland" osConfig.desktop || builtins.elem "sway" osConfig.desktop;
settings = {
ignore-empty-password = true;
color = "333333";
image = "${./other-files/wallpapers/lake.jpg}";
};
};
}