Don't scope stuff in flake.packages
This commit is contained in:
parent
bbb12a6ce4
commit
ef956d52fb
|
@ -6,8 +6,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, flake-utils, rust-overlay, ... }:
|
outputs = { self, nixpkgs, flake-utils, rust-overlay, ... }:
|
||||||
{
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
packages = flake-utils.lib.eachDefaultSystem (system:
|
|
||||||
let
|
let
|
||||||
overlays = [ (import rust-overlay) ];
|
overlays = [ (import rust-overlay) ];
|
||||||
pkgs = import nixpkgs { inherit system overlays; };
|
pkgs = import nixpkgs { inherit system overlays; };
|
||||||
|
@ -29,7 +28,7 @@
|
||||||
[ (rustVersion.override { extensions = [ "rust-src" ]; }) ];
|
[ (rustVersion.override { extensions = [ "rust-src" ]; }) ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
) // {
|
||||||
nixosModules.default = { config, lib, pkgs, ... }:
|
nixosModules.default = { config, lib, pkgs, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let cfg = config.mawalu.services.norbert;
|
let cfg = config.mawalu.services.norbert;
|
||||||
|
|
Loading…
Reference in New Issue