diff --git a/hosts/hurricane/configuration.nix b/hosts/hurricane/configuration.nix index d486ae3..bbe45ba 100644 --- a/hosts/hurricane/configuration.nix +++ b/hosts/hurricane/configuration.nix @@ -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"; diff --git a/hosts/hurricane/hyprlock.nix b/hosts/hurricane/hyprlock.nix new file mode 100644 index 0000000..f681d22 --- /dev/null +++ b/hosts/hurricane/hyprlock.nix @@ -0,0 +1,3 @@ +{ + programs.hyprlock.settings.background.path = "$HOME/git/nixos/modules/home/images/control-panel.png"; +} diff --git a/hosts/wildfire/configuration.nix b/hosts/wildfire/configuration.nix index 9107f69..0c94fbb 100644 --- a/hosts/wildfire/configuration.nix +++ b/hosts/wildfire/configuration.nix @@ -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"; diff --git a/hosts/wildfire/hyprlock.nix b/hosts/wildfire/hyprlock.nix new file mode 100644 index 0000000..8843fd8 --- /dev/null +++ b/hosts/wildfire/hyprlock.nix @@ -0,0 +1,3 @@ +{ + programs.hyprlock.settings.background.path = "$HOME/git/nixos/modules/home/images/sky.png"; +} diff --git a/modules/home/hyprlock.nix b/modules/home/hyprlock.nix index 7f6099c..35a3331 100644 --- a/modules/home/hyprlock.nix +++ b/modules/home/hyprlock.nix @@ -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;