2023-07-07 13:55:13 +00:00
|
|
|
{
|
|
|
|
description = "clan.lol base operating system";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2023-08-05 09:42:48 +00:00
|
|
|
floco.url = "github:aakropotkin/floco";
|
|
|
|
floco.inputs.nixpkgs.follows = "nixpkgs";
|
2023-07-28 14:37:10 +00:00
|
|
|
disko.url = "github:nix-community/disko";
|
|
|
|
disko.inputs.nixpkgs.follows = "nixpkgs";
|
2023-07-07 14:05:38 +00:00
|
|
|
nixos-generators.url = "github:nix-community/nixos-generators";
|
2023-07-07 13:55:13 +00:00
|
|
|
nixos-generators.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
|
|
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
|
2023-07-12 17:00:09 +00:00
|
|
|
treefmt-nix.url = "github:numtide/treefmt-nix";
|
|
|
|
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
|
2023-07-07 13:55:13 +00:00
|
|
|
};
|
|
|
|
|
2023-07-21 09:14:54 +00:00
|
|
|
outputs = inputs @ { flake-parts, ... }:
|
2023-07-21 12:01:56 +00:00
|
|
|
flake-parts.lib.mkFlake { inherit inputs; } ({ ... }: {
|
2023-07-21 12:00:52 +00:00
|
|
|
systems = [
|
|
|
|
"x86_64-linux"
|
|
|
|
"aarch64-linux"
|
|
|
|
];
|
2023-07-12 16:25:25 +00:00
|
|
|
imports = [
|
2023-08-03 15:01:26 +00:00
|
|
|
./devShell.nix
|
|
|
|
./formatter.nix
|
2023-07-21 13:13:26 +00:00
|
|
|
./templates/flake-module.nix
|
2023-07-20 15:32:28 +00:00
|
|
|
./templates/python-project/flake-module.nix
|
2023-08-05 09:42:48 +00:00
|
|
|
|
|
|
|
./pkgs/flake-module.nix
|
|
|
|
|
2023-07-20 23:08:35 +00:00
|
|
|
./pkgs/clan-cli/flake-module.nix
|
2023-08-03 15:01:26 +00:00
|
|
|
./pkgs/installer/flake-module.nix
|
2023-08-05 09:42:48 +00:00
|
|
|
./pkgs/ui/flake-module.nix
|
|
|
|
|
2023-08-01 13:36:33 +00:00
|
|
|
./lib/flake-module.nix
|
2023-08-03 15:01:26 +00:00
|
|
|
({ self, lib, ... }: {
|
|
|
|
flake.nixosModules = lib.mapAttrs (_: nix: { imports = [ nix ]; }) (self.lib.findNixFiles ./nixosModules);
|
|
|
|
flake.clanModules = lib.mapAttrs (_: nix: { imports = [ nix ]; }) (self.lib.findNixFiles ./clanModules);
|
|
|
|
})
|
2023-07-12 16:25:25 +00:00
|
|
|
];
|
2023-07-07 13:55:13 +00:00
|
|
|
});
|
|
|
|
}
|