From ef956d52fb184810f2a084ec1d5c1861e858ad8e Mon Sep 17 00:00:00 2001 From: mawalu Date: Mon, 17 Jul 2023 22:26:04 +0200 Subject: [PATCH] Don't scope stuff in flake.packages --- flake.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index daabfba..d6fe3ed 100644 --- a/flake.nix +++ b/flake.nix @@ -6,8 +6,7 @@ }; outputs = { self, nixpkgs, flake-utils, rust-overlay, ... }: - { - packages = flake-utils.lib.eachDefaultSystem (system: + flake-utils.lib.eachDefaultSystem (system: let overlays = [ (import rust-overlay) ]; pkgs = import nixpkgs { inherit system overlays; }; @@ -29,7 +28,7 @@ [ (rustVersion.override { extensions = [ "rust-src" ]; }) ]; }; } - ); + ) // { nixosModules.default = { config, lib, pkgs, ... }: with lib; let cfg = config.mawalu.services.norbert;