flake.nix: Add NixOS module

This commit is contained in:
Tristan Daniël Maat 2022-09-29 03:24:56 +01:00
parent 38c2999291
commit b76e61a55a
Signed by: tlater
GPG key ID: 49670FD774E43268
2 changed files with 80 additions and 0 deletions

View file

@ -37,6 +37,8 @@
'');
};
nixosModules.default = import ./nix/module.nix {inherit self system;};
devShells.${system} = {
templates = flakeOutputs.templates.devShells.${system}.default.overrideAttrs (old: {
buildInputs = with nixpkgs.legacyPackages.${system};