clan-core/flake.nix

49 lines
1.4 KiB
Nix
Raw Normal View History

{
description = "clan.lol base operating system";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
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, ... }:
2023-07-21 12:01:56 +00:00
flake-parts.lib.mkFlake { inherit inputs; } ({ ... }: {
systems = [
"x86_64-linux"
"aarch64-linux"
];
2023-07-12 16:25:25 +00:00
imports = [
2023-07-28 12:57:23 +00:00
./flake-parts/devShells
./flake-parts/formatting.nix
2023-07-28 13:03:06 +00:00
./flake-parts/merge-after-ci
2023-07-26 16:23:08 +00:00
./flake-parts/modules.nix
./flake-parts/packages.nix
2023-07-28 12:11:19 +00:00
./flake-parts/tea-create-pr
2023-07-26 15:24:43 +00:00
./flake-parts/writers
./templates/flake-module.nix
./templates/python-project/flake-module.nix
2023-07-20 23:08:35 +00:00
./pkgs/clan-cli/flake-module.nix
2023-07-12 16:25:25 +00:00
];
flake = {
nixosModules = {
installer = {
imports = [
2023-07-26 09:50:56 +00:00
./modules/installer.nix
./modules/hidden-ssh-announce.nix
];
};
hidden-announce = {
imports = [
2023-07-26 09:50:56 +00:00
./modules/hidden-ssh-announce.nix
];
};
};
};
});
}