mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-01-22 03:07:31 -06:00
apply treefmt
This commit is contained in:
parent
a4cb7872ba
commit
5f3972d784
13 changed files with 64 additions and 72 deletions
7
.github/actions/clean-disk/action.yml
vendored
7
.github/actions/clean-disk/action.yml
vendored
|
@ -1,11 +1,11 @@
|
||||||
name: 'Maximize build disk space'
|
name: "Maximize build disk space"
|
||||||
description: 'Maximize the available disk space by removing unneeded software'
|
description: "Maximize the available disk space by removing unneeded software"
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
purge-packages:
|
purge-packages:
|
||||||
description: whether to remove apt packages
|
description: whether to remove apt packages
|
||||||
required: false
|
required: false
|
||||||
default: 'false'
|
default: "false"
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
|
@ -57,7 +57,6 @@ runs:
|
||||||
wait
|
wait
|
||||||
echo "... done"
|
echo "... done"
|
||||||
|
|
||||||
|
|
||||||
- name: Disk space report after modification
|
- name: Disk space report after modification
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
1
.github/dependabot.yml
vendored
1
.github/dependabot.yml
vendored
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
|
|
||||||
- package-ecosystem: "github-actions"
|
- package-ecosystem: "github-actions"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
|
|
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -4,19 +4,19 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
hosts:
|
hosts:
|
||||||
description: 'list of hosts to build'
|
description: "list of hosts to build"
|
||||||
required: true
|
required: true
|
||||||
default: 'othalan,algiz'
|
default: "othalan,algiz"
|
||||||
type: string
|
type: string
|
||||||
lockFile:
|
lockFile:
|
||||||
description: 'flake.lock file'
|
description: "flake.lock file"
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
hosts:
|
hosts:
|
||||||
description: 'list of hosts to build'
|
description: "list of hosts to build"
|
||||||
default: ',othalan,algiz'
|
default: ",othalan,algiz"
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
|
|
3
.github/workflows/checks.yml
vendored
3
.github/workflows/checks.yml
vendored
|
@ -5,7 +5,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
lockFile:
|
lockFile:
|
||||||
description: 'flake.lock file'
|
description: "flake.lock file"
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -23,7 +23,6 @@ jobs:
|
||||||
extra-conf: |
|
extra-conf: |
|
||||||
accept-flake-config = true
|
accept-flake-config = true
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@v8
|
- uses: DeterminateSystems/magic-nix-cache-action@v8
|
||||||
|
|
||||||
- uses: cachix/cachix-action@v15
|
- uses: cachix/cachix-action@v15
|
||||||
with:
|
with:
|
||||||
name: daylin
|
name: daylin
|
||||||
|
|
2
.github/workflows/push.yml
vendored
2
.github/workflows/push.yml
vendored
|
@ -6,7 +6,7 @@ on:
|
||||||
# - '**/*.md'
|
# - '**/*.md'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**/*.md'
|
- "**/*.md"
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
|
7
.github/workflows/update.yml
vendored
7
.github/workflows/update.yml
vendored
|
@ -4,9 +4,9 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
hosts:
|
hosts:
|
||||||
description: 'list of hosts to build'
|
description: "list of hosts to build"
|
||||||
required: true
|
required: true
|
||||||
default: 'othalan,algiz'
|
default: "othalan,algiz"
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
# schedule:
|
# schedule:
|
||||||
|
@ -65,7 +65,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
push-args: --set-upstream --force origin flake-lock
|
push-args: --set-upstream --force origin flake-lock
|
||||||
|
|
||||||
|
|
||||||
build-full:
|
build-full:
|
||||||
needs: build-minimal
|
needs: build-minimal
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -110,4 +109,4 @@ jobs:
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: summary
|
name: summary
|
||||||
path: '*-summary.md'
|
path: "*-summary.md"
|
||||||
|
|
|
@ -44,7 +44,6 @@ See below for the currently maintained hosts.
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
## oizys cli
|
## oizys cli
|
||||||
|
|
||||||
A small helper utility that mostly just wraps `nix` commands for convenience.
|
A small helper utility that mostly just wraps `nix` commands for convenience.
|
||||||
|
@ -83,5 +82,3 @@ Oizys was birthed by the goddess Nyx/Nix and embodies suffering and misery. Whic
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> I don't use home-manager to manager my shell/user configs. You can find those in my separate `chezmoi`-managed [`dotfiles`](https://git.dayl.in/daylin/dotfiles) repository.
|
> I don't use home-manager to manager my shell/user configs. You can find those in my separate `chezmoi`-managed [`dotfiles`](https://git.dayl.in/daylin/dotfiles) repository.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -30,9 +30,11 @@ ln -s /run/current-system/sw/bin/gitea /usr/local/bin/gitea
|
||||||
## Setting up Attic
|
## Setting up Attic
|
||||||
|
|
||||||
Generated a key using command provided in attic docs:
|
Generated a key using command provided in attic docs:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
nix run nixpkgs#openssl -- genrsa -traditional 4096 | base64 -w0
|
nix run nixpkgs#openssl -- genrsa -traditional 4096 | base64 -w0
|
||||||
```
|
```
|
||||||
|
|
||||||
And wrote `ATTIC_SERVER_TOKEN_RS256_SECRET_BASE64="output from above"` to `/etc/attic.env`
|
And wrote `ATTIC_SERVER_TOKEN_RS256_SECRET_BASE64="output from above"` to `/etc/attic.env`
|
||||||
|
|
||||||
I generated a token to configure the caches using the following command:
|
I generated a token to configure the caches using the following command:
|
||||||
|
@ -43,4 +45,3 @@ atticd-atticadm make-token --sub daylin --push "*" --pull "*" --validity '1y' --
|
||||||
|
|
||||||
If I handled secrets via `sops` or `agenix` I think this could be stored directly in the repo.
|
If I handled secrets via `sops` or `agenix` I think this could be stored directly in the repo.
|
||||||
I also had to modify the firewall so that docker would forward along the requests by caddy to `host.docker.internal` correctly.
|
I also had to modify the firewall so that docker would forward along the requests by caddy to `host.docker.internal` correctly.
|
||||||
|
|
||||||
|
|
|
@ -2,4 +2,3 @@
|
||||||
<img src="https://upload.wikimedia.org/wikipedia/commons/5/57/Runic_letter_mannaz.svg">
|
<img src="https://upload.wikimedia.org/wikipedia/commons/5/57/Runic_letter_mannaz.svg">
|
||||||
<h1>mannaz</h1>
|
<h1>mannaz</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -2,4 +2,3 @@
|
||||||
<img src="https://upload.wikimedia.org/wikipedia/commons/7/70/Runic_letter_othalan.svg">
|
<img src="https://upload.wikimedia.org/wikipedia/commons/7/70/Runic_letter_othalan.svg">
|
||||||
<h1>othalan</h1>
|
<h1>othalan</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
(loadOverlays inputs ./.)
|
(loadOverlays inputs ./.)
|
||||||
++ [
|
++ [
|
||||||
inputs.nim2nix.overlays.default # adds buildNimPackage
|
inputs.nim2nix.overlays.default # adds buildNimPackage
|
||||||
|
|
||||||
(final: prev: {
|
(final: prev: {
|
||||||
stable = import inputs.stable {
|
stable = import inputs.stable {
|
||||||
system = final.system;
|
system = final.system;
|
||||||
|
|
1
todo.md
1
todo.md
|
@ -27,4 +27,3 @@ Is this related to above and could maybe resolved by settling on a stable versio
|
||||||
> kernel: ucsi_acpi USBC000:00: error -EINVAL: PPM init failed
|
> kernel: ucsi_acpi USBC000:00: error -EINVAL: PPM init failed
|
||||||
|
|
||||||
<!-- generated with <3 by daylinmorgan/todo -->
|
<!-- generated with <3 by daylinmorgan/todo -->
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue