bucur/flake.nix
2026-07-04 17:39:55 +03:00

72 lines
2.5 KiB
Nix

{
description = "Bucur NixOS configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
sublunar.url = "git+ssh://git@codeberg.org/randogoth/sublunar.git";
sublunar.flake = false;
flux_vision.url = "git+ssh://git@codeberg.org/randogoth/flux.vision.git";
flux_vision.flake = false;
nfc_web.url = "git+ssh://git@codeberg.org/randogoth/nfc-web.git";
nfc_web.flake = false;
scopesessions.url = "git+ssh://git@codeberg.org/randogoth/scopesessions.org.git";
scopesessions.flake = false;
sublunar_almanac.url = "git+ssh://git@codeberg.org/randogoth/sublunar.almanac.git";
sublunar_almanac.flake = false;
praxis.url = "git+ssh://git@codeberg.org/randogoth/praxis.git";
praxis.flake = false;
geoblog_plugin.url = "git+ssh://git@codeberg.org/randogoth/geoblog-plugin.git";
geoblog_plugin.flake = false;
zonetoast.url = "git+ssh://git@codeberg.org/randogoth/zonetoast.git";
zonetoast.flake = false;
jirorian.url = "git+ssh://git@codeberg.org/randogoth/jirorian.git";
jirorian.inputs.nixpkgs.follows = "nixpkgs";
# oberon lives in the private xfay monorepo (server/oberon). It pins its own
# nixpkgs (nixos-unstable, for Dart 3.11) and must NOT follow ours — 25.11's
# Dart 3.9 is too old for its resolved lockfile.
oberon.url = "git+ssh://git@codeberg.org/randogoth/xfay.git?dir=server/oberon";
};
outputs = { self, nixpkgs, sops-nix, ... }@inputs:
let
system = "x86_64-linux";
in
{
nixosConfigurations.bucur = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
modules = [
sops-nix.nixosModules.sops
./hosts/bucur.nix
./hosts/bucur-hardware.nix
./modules/services/caddy.nix
./modules/services/openssh.nix
./modules/services/firewall.nix
./modules/services/tailscale.nix
./modules/services/tor-bridge.nix
./modules/services/nostr-rs-relay.nix
./modules/services/podman.nix
./modules/services/static-sites
./modules/services/webhook-deploy.nix
./modules/services/jirorian.nix
./modules/services/oberon.nix
./modules/services/nip05.nix
./modules/services/torrent-tracker.nix
./modules/services/backup.nix
./modules/users/tobias.nix
];
};
};
}