From ad064dfb954a815f1e5175ab42033fc9e1fb6d02 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 12 May 2024 23:24:03 +0200 Subject: build: export nixos module and overlay --- flake.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 389c646..82d2bd0 100644 --- a/flake.nix +++ b/flake.nix @@ -22,7 +22,12 @@ }; outputs = { self, nixpkgs, flake-utils, gomod2nix, pre-commit-hooks, simple-css }: - (flake-utils.lib.eachDefaultSystem + { + nixosModules = { + default = import ./nix/modules self; + }; + overlays.default = import ./nix/overlays; + } // (flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { -- cgit 1.4.1