nix: add nixosModules to the flake

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I4a63fdabe0bdee972fea926bf37d78906a6a6964
This commit is contained in:
raf 2026-03-01 14:25:34 +03:00
commit 63fb5d4ada
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -1,5 +1,4 @@
{
description = "Go Project Template";
inputs.nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable";
outputs = {
@ -19,6 +18,11 @@
default = pkgsForEach.${system}.callPackage ./nix/shell.nix {};
});
nixosModules = {
watchdog = import ./nix/module.nix self;
default = self.nixosModules.watchdog;
};
hydraJobs = self.packages;
};
}