Don't scope stuff in flake.packages

This commit is contained in:
Martin 2023-07-17 22:26:04 +02:00
parent bbb12a6ce4
commit ef956d52fb
Signed by: mawalu
GPG Key ID: BF556F989760A7C8
1 changed files with 2 additions and 3 deletions

View File

@ -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;