Book layout
This commit is contained in:
7
.gitignore
vendored
Normal file
7
.gitignore
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
book
|
||||
.DS_Store
|
||||
.idea
|
||||
*.log
|
||||
tmp/
|
||||
|
||||
.direnv/
|
5
book.toml
Normal file
5
book.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[book]
|
||||
authors = ["pingu"]
|
||||
language = "en"
|
||||
src = "src"
|
||||
title = "NixOS Installation Guide"
|
61
flake.lock
generated
Normal file
61
flake.lock
generated
Normal 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
21
flake.nix
Normal 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
15
src/SUMMARY.md
Normal 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
1
src/about.md
Normal file
@ -0,0 +1 @@
|
||||
# About
|
1
src/configuration/GUI.md
Normal file
1
src/configuration/GUI.md
Normal file
@ -0,0 +1 @@
|
||||
# GUI
|
1
src/configuration/drivers.md
Normal file
1
src/configuration/drivers.md
Normal file
@ -0,0 +1 @@
|
||||
# Drivers
|
1
src/configuration/hm.md
Normal file
1
src/configuration/hm.md
Normal file
@ -0,0 +1 @@
|
||||
# Home-manager
|
1
src/configuration/index.md
Normal file
1
src/configuration/index.md
Normal file
@ -0,0 +1 @@
|
||||
# Configuration
|
1
src/configuration/users.md
Normal file
1
src/configuration/users.md
Normal file
@ -0,0 +1 @@
|
||||
# Users
|
1
src/contributing.md
Normal file
1
src/contributing.md
Normal file
@ -0,0 +1 @@
|
||||
# Contributing
|
1
src/installation/index.md
Normal file
1
src/installation/index.md
Normal file
@ -0,0 +1 @@
|
||||
# Installation
|
1
src/introduction.md
Normal file
1
src/introduction.md
Normal file
@ -0,0 +1 @@
|
||||
# Introduction
|
Reference in New Issue
Block a user