flake/flake.nix

127 lines
3.1 KiB
Nix
Raw Normal View History

2024-10-30 13:51:36 +10:00
{
2026-02-08 23:41:05 +10:00
description = "im gonna cry again ;-;";
2024-10-30 13:51:36 +10:00
inputs = {
2026-01-31 09:57:24 +10:00
systems.url = "github:nix-systems/default";
2026-01-31 09:42:35 +10:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
2024-11-07 17:37:15 +10:00
2026-02-08 23:41:05 +10:00
home-manager = {
url = "github:nix-community/home-manager/release-25.11";
2026-02-08 23:41:05 +10:00
inputs.nixpkgs.follows = "nixpkgs";
};
2026-02-09 09:43:37 +10:00
# nt.url = "github:emilelcb/nt";
nt.url = "/home/me/agribit/nexus/nt";
2026-02-08 23:41:05 +10:00
cerulean = {
# url = "github:emilelcb/Cerulean";
url = "/home/me/agribit/nexus/Cerulean";
2026-01-31 09:42:35 +10:00
inputs = {
2026-02-08 23:41:05 +10:00
systems.follows = "systems";
nixpkgs.follows = "nixpkgs";
nixpkgs-unstable.follows = "nixpkgs-unstable";
2026-02-09 09:43:37 +10:00
nt.follows = "nt";
2026-01-31 09:42:35 +10:00
};
};
2025-11-01 13:21:55 +10:00
2026-02-08 17:46:42 +10:00
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.7.0";
2026-02-08 18:56:06 +10:00
grub2-themes = {
url = "github:vinceliuice/grub2-themes";
inputs.nixpkgs.follows = "nixpkgs";
};
nixcord = {
url = "github:FlameFlag/nixcord";
inputs.nixpkgs.follows = "nixpkgs";
};
2026-01-31 09:42:44 +10:00
dobutterfliescry-net = {
2026-02-03 22:27:23 +10:00
url = "git+https://forge.dobutterfliescry.net/cry/site";
2026-01-31 09:42:44 +10:00
inputs = {
nixpkgs.follows = "nixpkgs";
nixpkgs-unstable.follows = "nixpkgs-unstable";
systems.follows = "systems";
};
};
2024-10-30 13:51:36 +10:00
};
nixConfig = {
extra-experimental-features = "pipe-operators";
};
outputs = {
2026-02-08 23:41:05 +10:00
cerulean,
home-manager,
grub2-themes,
dobutterfliescry-net,
...
}:
cerulean.mkNexus ./. (self: {
2026-02-08 23:41:05 +10:00
nexus = {
overlays =
import ./overlays
++ [
dobutterfliescry-net.overlays.default
];
2026-02-08 23:41:05 +10:00
groups = {
cryos = {
# oh frick i cried again
cryde = {};
};
server = {};
};
nodes = let
inherit
(self.nexus)
groups
;
in {
2026-02-08 23:41:05 +10:00
# my laptop <3 :3
lolcathost = {
system = "x86_64-linux";
2026-02-09 09:43:37 +10:00
groups = [groups.cryos.cryde];
2026-02-08 23:41:05 +10:00
extraModules = [
home-manager.nixosModules.default
grub2-themes.nixosModules.default
];
};
2026-02-08 23:41:05 +10:00
# i be on my puter frfr
myputer = {
system = "x86_64-linux";
2026-02-09 09:43:37 +10:00
groups = [groups.cryos.cryde];
2026-02-08 23:41:05 +10:00
extraModules = [
home-manager.nixosModules.default
grub2-themes.nixosModules.default
];
};
2026-02-08 23:41:05 +10:00
# courtesy of aurora <3
butterfly = {
system = "x86_64-linux";
groups = [groups.server];
deploy.ssh.host = "dobutterfliescry.net";
};
2025-02-11 15:47:56 +10:00
2026-02-08 23:41:05 +10:00
# pls dont sue me im broke
hyrule = {
system = "x86_64-linux";
groups = [groups.server];
deploy.ssh.host = "hyrule.dobutterfliescry.net";
};
2026-02-08 23:41:05 +10:00
# call me a statistician the way she spreads in my sheets
2026-02-12 13:26:00 +10:00
# matcha = {
# system = "x86_64-linux";
# groups = [groups.server];
# deploy.ssh.host = "bedroom.dobutterfliescry.net";
# };
2025-02-19 12:14:25 +10:00
};
2025-02-11 15:47:56 +10:00
};
});
2024-10-30 13:51:36 +10:00
}