webnsupdate/flake-modules/default.nix
Jalil David Salamé Messina bfb923e841
Some checks failed
/ check-renovaterc (push) Successful in 3s
/ build (push) Successful in 1m8s
/ test (push) Successful in 1m46s
/ report-size (push) Has been cancelled
wip: add config file to webnsupdate
2025-03-19 23:02:27 +01:00

41 lines
727 B
Nix

{ inputs, ... }:
{
imports = [
inputs.treefmt-nix.flakeModule
./package.nix
./tests.nix
];
flake.nixosModules =
let
webnsupdate = ../module.nix;
in
{
default = webnsupdate;
inherit webnsupdate;
};
perSystem =
{ pkgs, ... }:
{
# Setup formatters
treefmt = {
projectRootFile = "flake.nix";
programs = {
nixfmt.enable = true;
rustfmt.enable = true;
statix.enable = true;
typos.enable = true;
};
};
devShells.default = pkgs.mkShellNoCC {
packages = with pkgs; [
cargo-insta
cargo-udeps
mold
git-cliff
];
};
};
}