1
1
Fork 0
nixos-configs/flake.nix

77 lines
1.9 KiB
Nix
Raw Normal View History

2022-11-26 18:39:04 +00:00
{
inputs = {
2023-06-09 20:29:51 +00:00
nixpkgs.url = "github:NixOS/nixpkgs/22.11";
2023-06-09 20:42:52 +00:00
nixpkgs-next.url = "github:NixOS/nixpkgs/23.05";
2023-06-20 04:35:11 +00:00
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
nixos-wsl = {
url = "github:nix-community/NixOS-WSL";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-compat.follows = "flake-compat";
};
intake = {
url = "git+ssh://gitea@git.alogoulogoi.com/Jaculabilis/intake.git";
inputs.nixpkgs.follows = "nixpkgs-next";
inputs.flake-compat.follows = "flake-compat";
};
2023-06-20 21:34:14 +00:00
intake-sources = {
url = "git+ssh://gitea@git.alogoulogoi.com/Jaculabilis/intake-sources.git";
inputs.nixpkgs.follows = "nixpkgs-next";
};
2022-11-26 18:39:04 +00:00
};
2023-06-09 20:42:52 +00:00
outputs = {
self,
nixpkgs,
nixpkgs-next,
2023-06-20 04:35:11 +00:00
flake-compat,
nixos-wsl,
intake,
2023-06-20 21:34:14 +00:00
intake-sources,
2023-06-09 20:42:52 +00:00
}: {
2023-08-02 01:59:06 +00:00
nixosModules.beatific = import ./modules/beatific.nix;
2022-12-29 03:00:25 +00:00
nixosConfigurations = {
2023-08-02 00:13:35 +00:00
backyard = nixpkgs-next.lib.nixosSystem {
system = "x86_64-linux";
modules = [
2023-08-02 01:59:06 +00:00
self.nixosModules.beatific
2023-08-02 00:13:35 +00:00
./machine/backyard
];
};
2023-08-12 04:53:07 +00:00
catacomb = nixpkgs-next.lib.nixosSystem {
2022-12-29 03:00:25 +00:00
system = "aarch64-linux";
2023-08-02 17:03:35 +00:00
modules = [
self.nixosModules.beatific
./machine/catacomb
];
2022-12-29 03:00:25 +00:00
};
2023-06-09 20:59:09 +00:00
empyrean = nixpkgs-next.lib.nixosSystem {
2022-12-29 03:00:25 +00:00
system = "x86_64-linux";
2023-06-20 04:35:11 +00:00
modules = [
2023-08-02 17:45:22 +00:00
self.nixosModules.beatific
2023-06-20 21:34:14 +00:00
intake.nixosModules.default
intake-sources.nixosModules.default
2023-06-20 04:35:11 +00:00
./machine/empyrean
];
2022-12-29 03:00:25 +00:00
};
stagirite = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
nixos-wsl.nixosModules.wsl
./machine/stagirite
];
};
2023-08-04 04:52:49 +00:00
unfolder = nixpkgs-next.lib.nixosSystem {
system = "x86_64-linux";
modules = [
self.nixosModules.beatific
./machine/unfolder
];
};
2022-11-28 16:43:16 +00:00
};
2022-11-26 18:39:04 +00:00
};
}