host-specific hyprlock

This commit is contained in:
2025-06-18 17:50:49 +02:00
parent a72f995611
commit d220b58c36
5 changed files with 16 additions and 3 deletions

View File

@ -6,7 +6,10 @@
../../modules/programs.nix
];
# Extend home-manager configuration with host-specific monitor settings
home-manager.users.schulze.imports = [./hyprland-monitors.nix];
home-manager.users.schulze.imports = [
./hyprland-monitors.nix
./hyprlock.nix
];
networking.hostName = "hurricane";

View File

@ -0,0 +1,3 @@
{
programs.hyprlock.settings.background.path = "$HOME/git/nixos/modules/home/images/control-panel.png";
}

View File

@ -6,7 +6,10 @@
../../modules/programs.nix
];
# Extend home-manager configuration with host-specific monitor settings
home-manager.users.schulze.imports = [./hyprland-monitors.nix];
home-manager.users.schulze.imports = [
./hyprland-monitors.nix
./hyprlock.nix
];
# Encrypted drive
boot.initrd.luks.devices."luks-1728f038-43a6-4e0d-b7dd-19a4c1083605".device = "/dev/disk/by-uuid/1728f038-43a6-4e0d-b7dd-19a4c1083605";

View File

@ -0,0 +1,3 @@
{
programs.hyprlock.settings.background.path = "$HOME/git/nixos/modules/home/images/sky.png";
}

View File

@ -5,7 +5,8 @@ in {
enable = true;
settings = {
background = {
path = "$HOME/git/nixos/modules/home/images/sky.png";
# Background image is set in host specific configuration
#path = "$HOME/git/nixos/modules/home/images/sky.png";
blur_passes = 2;
contrast = 1;
brightness = 0.5;