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;