2023-07-07 13:55:13 +00:00
|
|
|
{
|
|
|
|
description = "clan.lol base operating system";
|
|
|
|
|
|
|
|
inputs = {
|
2023-11-08 09:17:00 +00:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
2024-05-22 19:14:30 +00:00
|
|
|
disko.url = "github:nix-community/disko";
|
2023-07-28 14:37:10 +00:00
|
|
|
disko.inputs.nixpkgs.follows = "nixpkgs";
|
2023-08-23 09:58:12 +00:00
|
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
2023-11-11 17:28:18 +00:00
|
|
|
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
2023-08-23 09:58:12 +00:00
|
|
|
sops-nix.inputs.nixpkgs-stable.follows = "";
|
2024-04-23 16:55:00 +00:00
|
|
|
nixos-images.url = "github:nix-community/nixos-images";
|
|
|
|
nixos-images.inputs.nixos-unstable.follows = "nixpkgs";
|
2024-06-11 13:03:57 +00:00
|
|
|
# unused input
|
|
|
|
nixos-images.inputs.nixos-stable.follows = "";
|
2023-07-07 13:55:13 +00:00
|
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
|
|
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
|
2024-08-15 09:03:52 +00:00
|
|
|
systems.url = "github:nix-systems/default";
|
2023-07-12 17:00:09 +00:00
|
|
|
treefmt-nix.url = "github:numtide/treefmt-nix";
|
|
|
|
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
|
2024-08-26 09:27:41 +00:00
|
|
|
|
2024-08-28 08:32:41 +00:00
|
|
|
nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
|
|
|
|
# TODO: remove this once the upstream doesnt have dependencies
|
|
|
|
nixos-facter-modules.flake = false;
|
|
|
|
# nixos-facter-modules.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
2023-07-07 13:55:13 +00:00
|
|
|
};
|
|
|
|
|
2024-03-17 18:48:49 +00:00
|
|
|
outputs =
|
2024-08-15 09:03:52 +00:00
|
|
|
inputs@{
|
|
|
|
flake-parts,
|
|
|
|
self,
|
|
|
|
systems,
|
|
|
|
...
|
|
|
|
}:
|
2024-03-17 18:48:49 +00:00
|
|
|
flake-parts.lib.mkFlake { inherit inputs; } (
|
2024-04-03 11:46:17 +00:00
|
|
|
{ ... }:
|
2024-03-17 18:48:49 +00:00
|
|
|
{
|
2024-05-31 15:22:38 +00:00
|
|
|
clan = {
|
2024-06-25 11:58:38 +00:00
|
|
|
meta.name = "clan-core";
|
2024-05-31 15:22:38 +00:00
|
|
|
directory = self;
|
|
|
|
};
|
2024-08-15 09:03:52 +00:00
|
|
|
systems = import systems;
|
2024-03-17 18:48:49 +00:00
|
|
|
imports = [
|
|
|
|
./checks/flake-module.nix
|
2024-03-27 09:47:24 +00:00
|
|
|
./clanModules/flake-module.nix
|
2024-04-03 11:46:17 +00:00
|
|
|
./flakeModules/flake-module.nix
|
2024-04-04 11:30:42 +00:00
|
|
|
(import ./flakeModules/clan.nix inputs.self)
|
2024-03-17 18:48:49 +00:00
|
|
|
./devShell.nix
|
2024-04-12 14:20:33 +00:00
|
|
|
# TODO: migrate this @davHau
|
|
|
|
# ./docs/flake-module
|
2024-04-13 12:42:37 +00:00
|
|
|
./docs/nix/flake-module.nix
|
2024-03-17 18:48:49 +00:00
|
|
|
./formatter.nix
|
|
|
|
./lib/flake-module.nix
|
|
|
|
./nixosModules/flake-module.nix
|
2024-06-27 14:09:42 +00:00
|
|
|
./nixosModules/clanCore/vars/flake-module.nix
|
2024-03-27 09:47:24 +00:00
|
|
|
./pkgs/flake-module.nix
|
|
|
|
./templates/flake-module.nix
|
2024-03-17 18:48:49 +00:00
|
|
|
];
|
|
|
|
}
|
|
|
|
);
|
2023-07-07 13:55:13 +00:00
|
|
|
}
|