nix: add nixosModules to the flake
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I4a63fdabe0bdee972fea926bf37d78906a6a6964
This commit is contained in:
parent
75018f69df
commit
63fb5d4ada
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue