diff --git a/.github/TODO.md b/.github/TODO.md deleted file mode 100644 --- a/.github/TODO.md +++ /dev/null @@ -1,5 +0,0 @@ -- [x] look into syncthing over nextcloud -- [x] move mediawiki stuff -- [x] move boot options -- [] blog post on the perl annihilation -- [] use lib.evalModules over lib.nixosSystem? diff --git a/.github/images/blur.png b/docs/src/images/blur.png rename from .github/images/blur.png rename to docs/src/images/blur.png --- a/.github/images/blur.png +++ b/docs/src/images/blur.png diff --git a/.github/images/blur.webp b/docs/src/images/blur.webp rename from .github/images/blur.webp rename to docs/src/images/blur.webp --- a/.github/images/blur.webp +++ b/docs/src/images/blur.webp diff --git a/.github/images/lightmode.png b/docs/src/images/lightmode.png rename from .github/images/lightmode.png rename to docs/src/images/lightmode.png --- a/.github/images/lightmode.png +++ b/docs/src/images/lightmode.png diff --git a/.github/images/lightmode.webp b/docs/src/images/lightmode.webp rename from .github/images/lightmode.webp rename to docs/src/images/lightmode.webp --- a/.github/images/lightmode.webp +++ b/docs/src/images/lightmode.webp diff --git a/.github/images/main.png b/docs/src/images/main.png rename from .github/images/main.png rename to docs/src/images/main.png --- a/.github/images/main.png +++ b/docs/src/images/main.png diff --git a/.github/images/main.webp b/docs/src/images/main.webp rename from .github/images/main.webp rename to docs/src/images/main.webp --- a/.github/images/main.webp +++ b/docs/src/images/main.webp diff --git a/.github/images/nvim.png b/docs/src/images/nvim.png rename from .github/images/nvim.png rename to docs/src/images/nvim.png --- a/.github/images/nvim.png +++ b/docs/src/images/nvim.png diff --git a/.github/images/nvim.webp b/docs/src/images/nvim.webp rename from .github/images/nvim.webp rename to docs/src/images/nvim.webp --- a/.github/images/nvim.webp +++ b/docs/src/images/nvim.webp diff --git a/.github/images/topology.png b/docs/src/images/topology.png rename from .github/images/topology.png rename to docs/src/images/topology.png --- a/.github/images/topology.png +++ b/docs/src/images/topology.png diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -36,6 +36,7 @@ uses: DeterminateSystems/nix-installer-action@main with: source-url: https://install.lix.systems/lix/lix-installer-x86_64-linux logger: pretty + diagnostic-endpoint: "" - name: Nix Magic Cache uses: DeterminateSystems/magic-nix-cache-action@main diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,48 @@ +name: Build and deploy docs + +on: + workflow_dispatch: + push: + paths: + - "docs/**/*" + - ".github/workflows/docs.yml" + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install Lix + uses: DeterminateSystems/nix-installer-action@main + with: + source-url: https://install.lix.systems/lix/lix-installer-x86_64-linux + logger: pretty + diagnostic-endpoint: "" + + - name: Build Linux packages + run: "nix build -L .#docs" + + - name: Upload Pages Artifact + uses: "actions/upload-pages-artifact@v3" + with: + path: "result/" + + deploy: + needs: "build" + runs-on: "ubuntu-latest" + + permissions: + pages: "write" + id-token: "write" + + environment: + name: "github-pages" + url: "${{ steps.deployment.outputs.page_url }}" + + steps: + - name: "Deploy to GitHub Pages" + id: "deployment" + uses: "actions/deploy-pages@v4" diff --git a/.github/workflows/generate-topology.yml b/.github/workflows/generate-topology.yml --- a/.github/workflows/generate-topology.yml +++ b/.github/workflows/generate-topology.yml @@ -28,7 +28,7 @@ - name: Move files run: | nix shell nixpkgs#imagemagick - magick ./result/topology.svg ./.github/images/topology.png + magick ./result/topology.svg ./docs/src/images/topology.png - name: Commit & Push uses: endbug/add-and-commit@v9 diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -34,26 +34,6 @@ ![image of my flakes topology](./.github/images/topology.png) - - -- [Foreword](#foreword) -- [What does this repo provided](#what-does-this-repo-provided) -- [Config layout](#config-layout) -- [Usage Notes](#usage-notes) - - [Using the templates](#using-the-templates) - - [Shortcuts](#shortcuts) - - [Installation Notes](#installation-notes) - - [NixOS](#nixos) - - [Dual boot](#dual-boot) - - [macOS](#macos) - - [Small bits](#small-bits) -- [Additional notes](#additional-notes) - - [Resources](#resources) - - [Projects / Configurations](#projects-configurations) - - [People](#people) - - - ### Foreword This repository contains my **personal** configuration for my systems, so its really important that you know it's **personal** and not everything will fit your needs. @@ -62,9 +42,6 @@ > [!WARNING] > Also to note that this configuration will **not** work if you do not change any of the [secrets](./secrets) since they are encrypted. -> [!TIP] -> You can find some cool blogs and people at the bottom of this file, or [click here](#additional-notes) - ### What does this repo provided - Several applications and tools for my needs, but you can choose the one that best suits your needs @@ -77,183 +54,7 @@ - Sensible defaults, so you can get started quickly - Docs kind of - [Catppuccin](https://github.com/catppuccin/catppuccin) everywhere, with a hint of [evergarden](https://github.com/comfysage/evergarden) -### Config layout - -- ๐Ÿ  [home](./home/) Where all home-manager configurations lie -- ๐Ÿ–ฅ๏ธ [systems](./systems/) - - โ˜€๏ธ [Amaterasu](./systems/amaterasu) My high-end gaming machine - - ๐Ÿ‰ [Hydra](./systems/hydra/) A super mid spec laptop - - โšธ [Lilith](./systems/lilith/) A NixOS ISO image that can be quickly deployed and accessed via ssh - - โš–๏ธ [minerva](./systems/minerva/) A server configuration for some of my infrastructure - - ๐–ค [Valkyrie](./systems/valkyrie/) A WSL2 host, designed to be a development environment on Windows - - ๐Ÿ’ฎ [Tatsumaki](./systems/tatsumaki/) A MacBook Air, configured to last a whole day of university -- ๐Ÿงฉ [parts](./parts/) NixOS parts breaking down the complex configuration into smaller more manageable chunks - - ๐Ÿ“š [lib](./parts/lib/) Useful repeated functions - - ๐Ÿ› ๏ธ [templates](./parts/templates/) Templates for setting up development environments - - ๐Ÿ‘พ [modules](./parts/modules/) Exported modules for NixOS, home-manager and Nix Darwin -- ๐Ÿ”Œ [modules](./modules/) - - [base](./modules/base/) The base configuration settings, which are common between all systems - - [darwin](./modules/darwin/) Pre-made modules for exclusively darwin systems - - [nixos](./modules/nixos/) Pre cooked modules for exclusively nixos systems - - [iso](./modules/iso/) Pre-configured modules prepared for making NixOS iso images - - [extra](./modules/extra) Extra configuration modules, for home-manager and Nix Darwin and NixOS - - [profiles](./modules/profiles/) Pre-made profiles for different system types - - [hardware](./modules/profiles/hardware) Optimized settings for different devices (e.g., laptop, servers, desktop) - - [meta](./modules/profiles/meta) Optimized configurations for different natures (e.g., headless, graphical) - -> [!TIP] -> When looking for my custom modules or packages you should direct yourself to [isabelroses/beapkgs](https://github.com/isabelroses/beapkgs). If you are specifically looking for remote modules (sometimes not clearly labelled), it is worth looking through the [beapkgs docs](https://isabelroses.github.io/beapkgs/). - -### Usage Notes - -#### Using the templates - -To use the templates there are two commands you can run, they are: - -- `nix flake init -t github:isabelroses/dotfiles#