-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from isabelroses/refactor
refactor
- Loading branch information
Showing
483 changed files
with
18,999 additions
and
11,708 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,39 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_style = tab | ||
indent_size = 4 | ||
insert_final_newline = true | ||
tab_width = 4 | ||
trim_trailing_whitespace = false | ||
|
||
[*.md] | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace = false | ||
|
||
[*.{nix,yml,yaml}] | ||
indent_style = space | ||
indent_size = 2 | ||
indent_size = 2 | ||
tab_width = 2 | ||
|
||
[*.yuck] | ||
indent_style = spaces | ||
indent_size = 4 | ||
|
||
[*.{js, sh}] | ||
indent_style = spaces | ||
indent_size = 2 | ||
|
||
[*.{diff,patch}] | ||
end_of_line = unset | ||
insert_final_newline = unset | ||
trim_trailing_whitespace = unset | ||
|
||
[secrets.yaml] | ||
indent_size = unset | ||
|
||
[*.lock] | ||
indent_size = unset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
use flake | ||
export DIRENV_WARN_TIMEOUT=5m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
flake/templates/* linguist-vendored |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
* @isabelroses | ||
* @isabelroses |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
time: "03:00" | ||
open-pull-requests-limit: 10 | ||
reviewers: | ||
- isabelroses | ||
assignees: | ||
- isabelroses |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Build and populate cache | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- .github/** | ||
- assets/** | ||
- .gitignore | ||
- docs/** | ||
- README.md | ||
schedule: | ||
- cron: "25 1 * * *" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
package: | ||
- bellado | ||
- catppuccinifier-cli | ||
- lutgen-rs | ||
- patched-gjs | ||
- ags | ||
- plymouth-theme-catppuccin | ||
|
||
steps: | ||
- uses: easimon/maximize-build-space@v8 | ||
with: | ||
overprovision-lvm: true | ||
remove-android: true | ||
remove-dotnet: true | ||
remove-haskell: true | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
with: | ||
logger: pretty | ||
|
||
- name: Setup cachix | ||
uses: cachix/cachix-action@v12 | ||
with: | ||
name: isabelroses | ||
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}" | ||
authToken: "${{ secrets.CACHIX_TOKEN }}" | ||
|
||
- name: Set default git branch (to reduce log spam) | ||
run: git config --global init.defaultBranch main | ||
|
||
- name: Build from the matrix | ||
run: nix build -L .#${{ matrix.package }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
name: Nix Flake Check | ||
name: Validate Nix Flake | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- "**.nix" | ||
- "**.lock" | ||
- ".github/workflows/check.yml" | ||
|
||
jobs: | ||
checks: | ||
name: Check expressions | ||
check-flake: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: cachix/install-nix-action@v18 | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
with: | ||
install_url: https://nixos.org/nix/install | ||
extra_nix_config: | | ||
auto-optimise-store = true | ||
experimental-features = nix-command flakes | ||
access-tokens = ${{ secrets.AUTH_TOKEN }} | ||
- run: nix flake check | ||
logger: pretty | ||
|
||
- name: Check Flake | ||
run: nix flake check --accept-flake-config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
name: Formatting Check | ||
name: Validate Flake Formatting | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
on: [push, workflow_dispatch] | ||
|
||
jobs: | ||
checks: | ||
name: Check expressions | ||
check-formatting: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: cachix/install-nix-action@v18 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
with: | ||
install_url: https://nixos.org/nix/install | ||
extra_nix_config: | | ||
auto-optimise-store = true | ||
experimental-features = nix-command flakes | ||
logger: pretty | ||
github_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
- run: nix run nixpkgs#alejandra -- -c . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Bump Flake Inputs | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
update-lockfile: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4.1.0 | ||
|
||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
with: | ||
logger: pretty | ||
|
||
- name: Update Lockfile | ||
uses: DeterminateSystems/update-flake-lock@main | ||
id: update | ||
with: | ||
pr-title: "CI: bump flake inputs" | ||
|
||
- name: Merge Changes | ||
run: | | ||
gh pr merge ${{ steps.update.outputs.pull-request-number }} --squash --delete-branch | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
# Ingore nixos build outputs | ||
result | ||
.direnv/ | ||
|
||
# Ignore pre-commit config | ||
.pre-commit-config.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.