2026-02-15 14:57:00 -08:00
|
|
|
{
|
|
|
|
|
inputs = {
|
2026-03-06 13:14:58 -08:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
2026-02-15 14:57:00 -08:00
|
|
|
|
|
|
|
|
disko = {
|
|
|
|
|
url = "github:nix-community/disko";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
sops-nix = {
|
|
|
|
|
url = "github:Mic92/sops-nix";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
continuwuity = {
|
2026-04-30 13:27:04 -07:00
|
|
|
# Pinned: revs after 1cc9dbf2 (revCount > 6618) bumped ruma to a version
|
|
|
|
|
# where RtcFocusInfo / RtcTransport use a hand-rolled
|
|
|
|
|
# Box::<RawJsonValue>::deserialize impl that toml-rs can't satisfy,
|
|
|
|
|
# breaking any non-empty matrix_rtc.foci config.
|
|
|
|
|
url = "git+https://forgejo.ellis.link/continuwuation/continuwuity?rev=1cc9dbf2a47b7b329507cc4ddc970e10b968121c";
|
2026-02-15 14:57:00 -08:00
|
|
|
};
|
2026-04-19 22:14:48 -07:00
|
|
|
|
|
|
|
|
dicebot = {
|
|
|
|
|
url = "git+https://forgejo.ellie.town/wizzy/dicebot.git";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2026-02-15 14:57:00 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
outputs =
|
|
|
|
|
{
|
|
|
|
|
nixpkgs,
|
|
|
|
|
disko,
|
|
|
|
|
sops-nix,
|
|
|
|
|
continuwuity,
|
2026-04-19 22:14:48 -07:00
|
|
|
dicebot,
|
2026-02-15 14:57:00 -08:00
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
let
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
|
inherit system;
|
|
|
|
|
config.allowUnfree = true;
|
|
|
|
|
};
|
|
|
|
|
in
|
|
|
|
|
{
|
|
|
|
|
nixosConfigurations.home-server = nixpkgs.lib.nixosSystem {
|
|
|
|
|
inherit system;
|
2026-04-19 22:14:48 -07:00
|
|
|
specialArgs = { inherit continuwuity dicebot; };
|
2026-02-15 14:57:00 -08:00
|
|
|
|
|
|
|
|
modules = [
|
|
|
|
|
disko.nixosModules.disko
|
|
|
|
|
sops-nix.nixosModules.sops
|
|
|
|
|
(
|
|
|
|
|
{ ... }:
|
|
|
|
|
{
|
|
|
|
|
nixpkgs = {
|
|
|
|
|
config.allowUnfree = true;
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
./hosts/homeserver/hardware-configuration.nix
|
|
|
|
|
./common.nix
|
|
|
|
|
./hosts/homeserver/configuration.nix
|
|
|
|
|
./hosts/homeserver/setup.nix
|
|
|
|
|
./services/website.nix
|
|
|
|
|
./services/wireguard-inner.nix
|
|
|
|
|
./services/matrix.nix
|
2026-04-19 22:14:48 -07:00
|
|
|
./services/dicebot.nix
|
2026-02-15 14:57:00 -08:00
|
|
|
./services/ergo.nix
|
2026-02-15 15:42:17 -08:00
|
|
|
./services/forgejo.nix
|
2026-02-15 20:28:12 -08:00
|
|
|
./services/forgejo-runner.nix
|
2026-02-24 16:43:45 -08:00
|
|
|
./services/borgbackup.nix
|
2026-05-09 13:04:52 -07:00
|
|
|
./services/gotosocial.nix
|
2026-02-15 15:42:17 -08:00
|
|
|
# ./services/akkoma.nix
|
2026-02-15 14:57:00 -08:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
nixosConfigurations.vps = nixpkgs.lib.nixosSystem {
|
|
|
|
|
inherit system;
|
|
|
|
|
|
|
|
|
|
modules = [
|
|
|
|
|
disko.nixosModules.disko
|
|
|
|
|
sops-nix.nixosModules.sops
|
|
|
|
|
(
|
|
|
|
|
{ ... }:
|
|
|
|
|
{
|
|
|
|
|
nixpkgs = {
|
|
|
|
|
config.allowUnfree = true;
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
./hosts/vps/hardware-configuration.nix
|
|
|
|
|
./common.nix
|
|
|
|
|
./hosts/vps/configuration.nix
|
|
|
|
|
./hosts/vps/disko-config.nix
|
2026-03-10 19:17:44 -07:00
|
|
|
./services/nginx.nix
|
2026-03-10 19:14:02 -07:00
|
|
|
./services/blog.nix
|
2026-05-11 17:30:41 -07:00
|
|
|
./services/phanpy.nix
|
2026-02-15 14:57:00 -08:00
|
|
|
./services/coturn.nix
|
2026-04-01 14:20:27 -07:00
|
|
|
./services/livekit.nix
|
|
|
|
|
./services/lk-jwt.nix
|
2026-02-15 14:57:00 -08:00
|
|
|
./services/wireguard-outer.nix
|
2026-02-24 16:43:45 -08:00
|
|
|
./services/borgbackup-vps.nix
|
2026-02-15 14:57:00 -08:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
formatter.${system} = pkgs.nixfmt-tree;
|
|
|
|
|
};
|
|
|
|
|
}
|