first commit

This commit is contained in:
2026-02-19 19:27:01 +02:00
commit b0664108ee
4 changed files with 659 additions and 0 deletions

19
flake.nix Normal file
View File

@@ -0,0 +1,19 @@
{
description = "NixOS module for running Wafrn";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
bun2nix.url = "github:nix-community/bun2nix";
bun2nix.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, bun2nix, ... }: {
nixosModules = {
wafrn = { ... }: {
imports = [ ./modules/wafrn.nix ];
_module.args.bun2nixFlake = bun2nix;
};
default = self.nixosModules.wafrn;
};
};
}