2023-07-07 13:55:13 +00:00
|
|
|
{
|
|
|
|
description = "clan.lol base operating system";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
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";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs@{ flake-parts, ... }:
|
2023-07-12 16:25:25 +00:00
|
|
|
flake-parts.lib.mkFlake { inherit inputs; } ({ lib, config, self, ... }: {
|
2023-07-07 13:55:13 +00:00
|
|
|
systems = lib.systems.flakeExposed;
|
2023-07-12 16:25:25 +00:00
|
|
|
imports = [
|
2023-07-12 16:33:18 +00:00
|
|
|
./flake-parts/packages.nix
|
2023-07-12 16:25:25 +00:00
|
|
|
];
|
2023-07-07 13:55:13 +00:00
|
|
|
flake = {
|
|
|
|
nixosConfigurations.installer = lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
config.flake.nixosModules.installer
|
|
|
|
inputs.nixos-generators.nixosModules.all-formats
|
|
|
|
];
|
|
|
|
};
|
|
|
|
nixosModules = {
|
|
|
|
installer = {
|
|
|
|
imports = [
|
|
|
|
./installer.nix
|
|
|
|
./hidden-announce.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
hidden-announce = {
|
|
|
|
imports = [
|
|
|
|
./hidden-announce.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|