From 998aa2fa6f8d2798b4718f74cbace581cf28cc8d Mon Sep 17 00:00:00 2001 From: Victor Date: Tue, 19 Dec 2023 13:21:21 +0100 Subject: [PATCH] actually fix it --- flake.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/flake.nix b/flake.nix index 486d57d..0632709 100644 --- a/flake.nix +++ b/flake.nix @@ -53,7 +53,15 @@ ''; }; - nixosModules.default = { config }: + + + devShells.default = pkgs.mkShell { + shellHook = "${packages.default.preBuild}"; + inherit (packages.default) + nativeBuildInputs buildInputs LIBCLANG_PATH; + }; + }) // { + nixosModules.default = { config, lib, ... }: with lib; let cfg = config.services.gnome-autounlock-keyring; in { @@ -72,11 +80,5 @@ }; }; }; - - devShells.default = pkgs.mkShell { - shellHook = "${packages.default.preBuild}"; - inherit (packages.default) - nativeBuildInputs buildInputs LIBCLANG_PATH; - }; - }); + }; }