nix: expose NixOS module in default flake outputs; cleanup
Some checks failed
Rust / build (push) Has been cancelled

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I7457515ee7a96e11c9301e5b077afb446a6a6964
This commit is contained in:
raf 2026-05-09 20:16:33 +03:00
commit 63a81bb9d2
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
2 changed files with 29 additions and 5 deletions

View file

@ -9,6 +9,11 @@
forEachSystem = nixpkgs.lib.genAttrs systems;
pkgsForEach = nixpkgs.legacyPackages;
in {
nixosModules = {
eh = import ./nix/modules/nixos.nix self;
default = self.nixosModules.eh;
};
packages = forEachSystem (system: {
eh = pkgsForEach.${system}.callPackage ./nix/package.nix {};
default = self.packages.${system}.eh;