diff options
| -rw-r--r-- | home/config/i3/startup.nix | 2 | ||||
| -rw-r--r-- | home/pkgs/lockscreen/default.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/home/config/i3/startup.nix b/home/config/i3/startup.nix index cdad53c..0157fd8 100644 --- a/home/config/i3/startup.nix +++ b/home/config/i3/startup.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: let background-image = config.home.wallpaper; in { diff --git a/home/pkgs/lockscreen/default.nix b/home/pkgs/lockscreen/default.nix index 4da4743..120a727 100644 --- a/home/pkgs/lockscreen/default.nix +++ b/home/pkgs/lockscreen/default.nix @@ -1,4 +1,4 @@ -{ pkgs, backgroundImage ? null, resolution ? "1920x1080" }: +{ lib, pkgs, backgroundImage ? null, resolution ? "1920x1080" }: let useBackgroundImage = backgroundImage != null; in pkgs.runCommand "lockscreen" { envVariable = true; } ('' |
