Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
9c8b4e5d5a
|
|||
| 3f27e8495f | |||
| 56460e393c | |||
|
15a12bce41
|
|||
|
f0203cc6fe
|
|||
|
a99bb19d48
|
|||
|
1eb5d9d141
|
|||
|
681e045851
|
|||
|
9d1cf13fd1
|
|||
|
fa6148515c
|
|||
|
e482aa9e63
|
28
.gitea/workflows/check-flake.yml
Normal file
28
.gitea/workflows/check-flake.yml
Normal 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
|
||||||
@@ -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
|
|
||||||
@@ -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.
|
||||||
|
|||||||
6
config/src/nvim/lua/plugins/ui/colorizer.lua
Normal file
6
config/src/nvim/lua/plugins/ui/colorizer.lua
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
return {
|
||||||
|
"chrisbra/Colorizer",
|
||||||
|
keys = {
|
||||||
|
{ "<leader>uR", "<cmd>ColorToggle<cr>", desc = "Toggle Colorizer" },
|
||||||
|
},
|
||||||
|
}
|
||||||
6
flake.lock
generated
6
flake.lock
generated
@@ -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
7
renovate.json5
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": ["local>local/renovate"],
|
||||||
|
"nix": {
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user