summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2021-10-02 14:05:41 +0200
committerQuentin Aristote <quentin@aristote.fr>2021-10-02 14:05:41 +0200
commit136f43b3913327e9fe25d35ae5f3277d1eb51abf (patch)
tree95cdd09a76d7ad7f282aff64cbae91231a626cdc
parent411aa1a0ccdf0064f5d14844e5047ecd7c180707 (diff)
add lib to args
-rw-r--r--home/config/i3/startup.nix2
-rw-r--r--home/pkgs/lockscreen/default.nix2
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; } (''