Self Host Blocks manualPreface
Complete manual for Self Host Blocks, the building blocks for self-hosting with battery included.
If you encounter problems or bugs then please report them on the
issue tracker.
Self Host Blocks configuration optionsUsage
To use these options, import Self Host Blocks as a flake input, then import the default module for your system.
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
sops-nix.url = "github:Mic92/sops-nix";
shb.url = "github:ibizaman/selfhostblocks";
shb.inputs.nixpkgs.follows = "nixpkgs";
shb.inputs.sops-nix.follows = "sops-nix";
};
outputs = { self, nixpkgs, shb }: {
nixosConfigurations.machine = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
shb.nixosModules.x86_64-linux.default
./machine.nix
];
};
};
}
Options