11 Commits

Author SHA1 Message Date
9c8b4e5d5a feat: add Colorizer plugin
All checks were successful
check-flake / build (push) Successful in 4m23s
2024-05-11 14:22:40 +03:00
3f27e8495f Update renovate.json5
All checks were successful
check-flake / build (pull_request) Successful in 2m45s
check-flake / build (push) Successful in 3m18s
2024-03-25 12:59:08 +02:00
56460e393c Add renovate.json5 2024-03-25 12:59:08 +02:00
15a12bce41 feat: update build ci
All checks were successful
check-flake / build (push) Successful in 2m38s
2024-03-25 12:52:13 +02:00
f0203cc6fe feat: update build ci
Some checks failed
check-flake / build (push) Failing after 4m7s
2024-03-25 12:30:06 +02:00
a99bb19d48 feat: update build ci
Some checks failed
check-flake / lockfile (push) Failing after 1m35s
2024-03-25 12:24:50 +02:00
1eb5d9d141 feat: update build ci
Some checks failed
check-flake / lockfile (push) Failing after 2m16s
2024-03-25 12:17:49 +02:00
681e045851 feat: update build ci
Some checks failed
check-flake / lockfile (push) Failing after 38s
2024-03-25 12:14:50 +02:00
9d1cf13fd1 feat: use nixci to build flake
Some checks failed
check-flake / lockfile (push) Failing after 7m20s
2024-03-25 11:50:36 +02:00
fa6148515c feat: remove /homeless-shelter directory before building
Some checks failed
check-flake / lockfile (push) Failing after 2m31s
2024-03-25 11:35:35 +02:00
e482aa9e63 feat: add check-flake ci
Some checks failed
check-flake / lockfile (push) Failing after 6m47s
2024-03-25 09:43:46 +02:00
6 changed files with 45 additions and 40 deletions

View File

@@ -0,0 +1,28 @@
name: check-flake
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: "main"
- name: Setup sudo (required for the next step)
run: apt-get update && apt-get install -y sudo
- name: Setup nix
uses: cachix/install-nix-action@v26
with:
github_access_token: ${{ secrets.GH_ACCESS_TOKEN }}
nix_path: nixpkgs=channel:nixos-23.11
- name: Build nix flake
run: |
while true; do sleep 1; rm -rf /homeless-shelter; done &
nix build
- name: Check nix flake
run: nix flake check --all-systems

View File

@@ -1,37 +0,0 @@
name: update-flake-lock
on:
schedule:
- cron: "0 1 0 * *"
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: "main"
- name: Setup sudo (required for the next step)
run: apt-get update && apt-get install -y sudo
- name: Setup nix
uses: cachix/install-nix-action@v26
with:
github_access_token: ${{ secrets.GH_ACCESS_TOKEN }}
- name: Update nix flake lockfile
run: |
nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update
- name: Verify Changed files
uses: tj-actions/verify-changed-files@v19
id: verify-changed-files
with:
files: |
flake.lock
- name: Push updated lockfile
if: steps.verify-changed-files.outputs.files_changed == 'true'
run: |
git diff
git config --global user.name "Gitea Bot"
git config --global user.email "bot@git.palkoi.net"
git add flake.lock
git commit -m 'choke(nix-lock): bump flake.lock versions'
git push

View File

@@ -33,6 +33,7 @@ require("lazy").setup({
{ import = "plugins.lang.shell" }, { import = "plugins.lang.shell" },
{ import = "plugins.misc.tmux-navigator" }, { import = "plugins.misc.tmux-navigator" },
{ import = "plugins.undotree" }, { import = "plugins.undotree" },
{ import = "plugins.ui.colorizer" },
}, },
defaults = { defaults = {
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup. -- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.

View File

@@ -0,0 +1,6 @@
return {
"chrisbra/Colorizer",
keys = {
{ "<leader>uR", "<cmd>ColorToggle<cr>", desc = "Toggle Colorizer" },
},
}

6
flake.lock generated
View File

@@ -59,11 +59,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1711124224, "lastModified": 1715218190,
"narHash": "sha256-l0zlN/3CiodvWDtfBOVxeTwYSRz93muVbXWSpaMjXxM=", "narHash": "sha256-R98WOBHkk8wIi103JUVQF3ei3oui4HvoZcz9tYOAwlk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "56528ee42526794d413d6f244648aaee4a7b56c0", "rev": "9a9960b98418f8c385f52de3b09a63f9c561427a",
"type": "github" "type": "github"
}, },
"original": { "original": {

7
renovate.json5 Normal file
View File

@@ -0,0 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>local/renovate"],
"nix": {
"enabled": true
}
}