From 136f43b3913327e9fe25d35ae5f3277d1eb51abf Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sat, 2 Oct 2021 14:05:41 +0200 Subject: add lib to args --- home/config/i3/startup.nix | 2 +- 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; } ('' -- cgit v1.2.3