From b2054c4b33f33b7a40a2536fbd156b5ada1fb2d8 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Wed, 26 Apr 2023 09:09:26 +0200 Subject: [PATCH] fix xlock --- nixos/components/gui/xorg/default.nix | 2 ++ nixos/components/gui/xorg/xlock.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/components/gui/xorg/default.nix b/nixos/components/gui/xorg/default.nix index c441521..8f354d2 100644 --- a/nixos/components/gui/xorg/default.nix +++ b/nixos/components/gui/xorg/default.nix @@ -2,6 +2,8 @@ with lib; { + imports = [ ./xlock.nix ]; + config = mkIf config.components.gui.enable { system.custom.fonts.enable = true; diff --git a/nixos/components/gui/xorg/xlock.nix b/nixos/components/gui/xorg/xlock.nix index 113f790..837a2f5 100644 --- a/nixos/components/gui/xorg/xlock.nix +++ b/nixos/components/gui/xorg/xlock.nix @@ -1,4 +1,4 @@ -{ lib, pkgs, ... }: +{ lib, pkgs, config, ... }: with lib; let