my system configurations ^-^
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: init site

willow a4381368 ad6e8617

+151 -5
+48
.github/workflows/docs.yml
··· 1 + name: Deploy site 2 + 3 + on: 4 + push: 5 + branches: [main] 6 + workflow_dispatch: 7 + 8 + permissions: 9 + contents: read 10 + pages: write 11 + id-token: write 12 + 13 + concurrency: 14 + group: pages 15 + cancel-in-progress: false 16 + 17 + jobs: 18 + build: 19 + runs-on: ubuntu-latest 20 + steps: 21 + - name: Checkout 22 + uses: actions/checkout@v4 23 + with: 24 + fetch-depth: 0 25 + - uses: oven-sh/setup-bun@v2 26 + - name: Setup Pages 27 + uses: actions/configure-pages@v4 28 + - name: Install dependencies 29 + run: bun install 30 + working-directory: docs 31 + - name: Build with VitePress 32 + run: bun run build 33 + working-directory: docs 34 + - name: Upload artifact 35 + uses: actions/upload-pages-artifact@v3 36 + with: 37 + path: docs/.vitepress/dist 38 + 39 + deploy: 40 + environment: 41 + name: github-pages 42 + url: ${{ steps.deployment.outputs.page_url }} 43 + needs: build 44 + runs-on: ubuntu-latest 45 + steps: 46 + - name: Deploy to GitHub Pages 47 + id: deployment 48 + uses: actions/deploy-pages@v4
+2
.gitignore
··· 1 1 .flake.nix.swp 2 2 todo.md 3 3 result 4 + node_modules 5 + **/.vitepress/cache
+4 -4
README.md
··· 1 1 <h3 align="center"> 2 - <img src="docs/assets/flake.png" width="100" alt="Nix Logo" /><br /> 3 - <img src="docs/assets/transparent.png" height="30" width="0px" alt="" /> 2 + <img src="docs/public/flake-macchiato.png" width="100" alt="Nix Logo" /><br /> 3 + <img src="docs/public/transparent.png" height="30" width="0px" alt="" /> 4 4 42willow's flake 5 - <img src="docs/assets/transparent.png" height="30" width="0px" alt="" /> 5 + <img src="docs/public/transparent.png" height="30" width="0px" alt="" /> 6 6 </h3> 7 7 8 8 <h6 align="center"> ··· 15 15 16 16 <p align="center"> 17 17 <img 18 - src="docs/assets/macchiato.png" 18 + src="docs/public/macchiato.png" 19 19 width="400" 20 20 alt="Catppuccin Macchiato Palette" 21 21 />
+36
docs/.vitepress/config.mts
··· 1 + import { defineConfig } from "vitepress"; 2 + 3 + // https://vitepress.dev/reference/site-config 4 + export default defineConfig({ 5 + title: "willow's flake", 6 + description: "documentation for my nix flake", 7 + markdown: { 8 + theme: { 9 + light: "catppuccin-latte", 10 + dark: "catppuccin-macchiato", 11 + }, 12 + }, 13 + base: "/flake/", 14 + themeConfig: { 15 + // https://vitepress.dev/reference/default-theme-config 16 + // nav: [ 17 + // { text: "Home", link: "/" }, 18 + // { text: "Examples", link: "/markdown-examples" }, 19 + // ], 20 + 21 + sidebar: [ 22 + { 23 + text: "Examples", 24 + items: [ 25 + { text: "Install", link: "/install" }, 26 + { text: "Configure", link: "/config" }, 27 + { text: "Cheatsheet", link: "/cheetsheet" }, 28 + ], 29 + }, 30 + ], 31 + 32 + socialLinks: [ 33 + { icon: "github", link: "https://github.com/42willow/flake" }, 34 + ], 35 + }, 36 + });
+4
docs/.vitepress/theme/index.ts
··· 1 + import DefaultTheme from "vitepress/theme"; 2 + import "@catppuccin/vitepress/theme/macchiato/pink.css"; 3 + 4 + export default DefaultTheme;
docs/assets/flake.png

This is a binary file and will not be displayed.

docs/assets/macchiato.png docs/public/macchiato.png
docs/assets/transparent.png docs/public/transparent.png
docs/bun.lockb

This is a binary file and will not be displayed.

+4 -1
docs/cheetsheet.md
··· 1 1 # Nix cheat sheet 2 2 3 + > [!warning] 4 + > this is bad, improvements coming soon™ 5 + 6 + 3 7 ## `nix-env` package management 4 8 5 9 | action | Ubuntu | Nix | notes | ··· 66 70 ```bash 67 71 nix run github:astro/deadnix -- -eq . 68 72 ``` 69 -
+4
docs/config.md
··· 1 + # Configure 2 + 3 + > [!note] 4 + > coming soon™
+27
docs/index.md
··· 1 + --- 2 + # https://vitepress.dev/reference/default-theme-home-page 3 + layout: home 4 + 5 + hero: 6 + name: "willow's flake" 7 + # text: "documentation for my nix flake" 8 + tagline: "documentation for my nix flake" 9 + image: 10 + src: flake-macchiato.png 11 + alt: VitePress 12 + actions: 13 + - theme: brand 14 + text: Install 15 + link: /install 16 + - theme: alt 17 + text: Configure 18 + link: /config 19 + 20 + # features: 21 + # - title: Feature A 22 + # details: Lorem ipsum dolor sit amet, consectetur adipiscing elit 23 + # - title: Feature B 24 + # details: Lorem ipsum dolor sit amet, consectetur adipiscing elit 25 + # - title: Feature C 26 + # details: Lorem ipsum dolor sit amet, consectetur adipiscing elit 27 + ---
+10
docs/install.md
··· 1 + # Installation 2 + 3 + 1. Install via [graphical installer](https://nixos.org/download/) (I like to use the KDE Plasma installer) 4 + 2. Setup 5 + ```bash 6 + nmtui # connect to network 7 + nix-shell -p "git nh" --extra-experimental-features "nix-command flakes" 8 + git clone https://github.com/42willow/flake 9 + nh os switch -H earthy --flake ./flake/ -- --extra-experimental-features "nix-command flakes" 10 + ```
+12
docs/package.json
··· 1 + { 2 + "dependencies": {}, 3 + "devDependencies": { 4 + "@catppuccin/vitepress": "^0.1.2", 5 + "vitepress": "^1.6.3" 6 + }, 7 + "scripts": { 8 + "dev": "vitepress dev", 9 + "build": "vitepress build", 10 + "preview": "vitepress preview" 11 + } 12 + }
docs/public/flake-latte.png

This is a binary file and will not be displayed.

docs/public/flake-macchiato.png

This is a binary file and will not be displayed.

docs/recovery.md

This is a binary file and will not be displayed.