clan-core/flake.nix
Jörg Thalheim 930923512c
All checks were successful
build / test (push) Successful in 9s
replace pre-commit with shell script
This saves one flake input and some python dependencies
2023-08-03 14:43:20 +02:00

38 lines
1.2 KiB
Nix

{
description = "clan.lol base operating system";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
nixos-generators.url = "github:nix-community/nixos-generators";
nixos-generators.inputs.nixpkgs.follows = "nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = inputs @ { flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } ({ ... }: {
systems = [
"x86_64-linux"
"aarch64-linux"
];
imports = [
./flake-parts/devShells
./flake-parts/formatting.nix
./flake-parts/merge-after-ci
./flake-parts/modules.nix
./flake-parts/installer.nix
./flake-parts/tea-create-pr
./flake-parts/writers
./templates/flake-module.nix
./templates/python-project/flake-module.nix
./pkgs/clan-cli/flake-module.nix
./pkgs/nix-unit/flake-module.nix
./lib/flake-module.nix
];
});
}