Book layout

This commit is contained in:
2025-07-13 00:09:27 +02:00
parent 35479395d8
commit 2052c93e43
15 changed files with 119 additions and 0 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use flake

7
.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
book
.DS_Store
.idea
*.log
tmp/
.direnv/

5
book.toml Normal file
View File

@ -0,0 +1,5 @@
[book]
authors = ["pingu"]
language = "en"
src = "src"
title = "NixOS Installation Guide"

61
flake.lock generated Normal file
View File

@ -0,0 +1,61 @@
{
"nodes": {
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1751984180,
"narHash": "sha256-LwWRsENAZJKUdD3SpLluwDmdXY9F45ZEgCb0X+xgOL0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9807714d6944a957c2e036f84b0ff8caf9930bc0",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

21
flake.nix Normal file
View File

@ -0,0 +1,21 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem
(system:
let
pkgs = import nixpkgs {
inherit system;
};
in
with pkgs;
{
devShells.default = mkShell {
buildInputs = [ mdbook ];
};
}
);
}

15
src/SUMMARY.md Normal file
View File

@ -0,0 +1,15 @@
# Summary
[Introduction](./introduction.md)
- [Installation](./installation/index.md)
- [Configuration](./configuration/index.md)
- [Users](./configuration/users.md)
- [Drivers](./configuration/drivers.md)
- [GUI](./configuration/GUI.md)
- [Home-manager](./configuration/hm.md)
---
[About](./about.md)
[Contributing](./contributing.md)

1
src/about.md Normal file
View File

@ -0,0 +1 @@
# About

1
src/configuration/GUI.md Normal file
View File

@ -0,0 +1 @@
# GUI

View File

@ -0,0 +1 @@
# Drivers

1
src/configuration/hm.md Normal file
View File

@ -0,0 +1 @@
# Home-manager

View File

@ -0,0 +1 @@
# Configuration

View File

@ -0,0 +1 @@
# Users

1
src/contributing.md Normal file
View File

@ -0,0 +1 @@
# Contributing

View File

@ -0,0 +1 @@
# Installation

1
src/introduction.md Normal file
View File

@ -0,0 +1 @@
# Introduction