From 096acde683b7d2b320131b43a96c1e55dc87a705 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Thu, 30 Nov 2023 10:35:33 -0800 Subject: [PATCH] revamp manual preface --- docs/manual.xml | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/docs/manual.xml b/docs/manual.xml index 238eb48..4bc81e1 100644 --- a/docs/manual.xml +++ b/docs/manual.xml @@ -10,11 +10,11 @@ Preface - Some basic documentation of Self Host Blocks. + 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. + issue tracker. @@ -23,26 +23,38 @@
Usage + + + + 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-23.05"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + sops-nix.url = "github:Mic92/sops-nix"; - nix-on-droid = { - url = "github:nix-community/nix-on-droid/release-23.05"; - inputs.nixpkgs.follows = "nixpkgs"; - }; + shb.url = "github:ibizaman/selfhostblocks"; + shb.inputs.nixpkgs.follows = "nixpkgs"; + shb.inputs.sops-nix.follows = "sops-nix"; }; - outputs = { self, nixpkgs, nix-on-droid }: { + outputs = { self, nixpkgs, shb }: { - nixOnDroidConfigurations.deviceName = nix-on-droid.lib.nixOnDroidConfiguration { - modules = [ ./nix-on-droid.nix ]; + nixosConfigurations.machine = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + shb.nixosModules.x86_64-linux.default + ./machine.nix + ]; }; };