bucur/flake.nix
2026-06-08 16:51:53 +03:00

66 lines
2.1 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";
};
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/nip05.nix
./modules/services/torrent-tracker.nix
./modules/services/backup.nix
./modules/users/tobias.nix
];
};
};
}