Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
dc5cb9f99f
|
|||
|
fde597485f
|
|||
|
ad8dc7546b
|
|||
|
640e246954
|
|||
|
52de2b8f4d
|
|||
|
4f822e88b8
|
|||
|
204ad75438
|
|||
|
761311c5f0
|
|||
|
90d3255556
|
|||
|
9734dc46e0
|
|||
| eb332e0123 |
34
.gitea/workflows/build-flake.yml
Normal file
34
.gitea/workflows/build-flake.yml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
---
|
||||||
|
name: build-flake
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
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@v30
|
||||||
|
with:
|
||||||
|
extra_nix_config: |
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
github_access_token: ${{ secrets.GH_ACCESS_TOKEN }}
|
||||||
|
nix_path: nixpkgs=channel:nixos-24.05
|
||||||
|
- uses: cachix/cachix-action@v15
|
||||||
|
with:
|
||||||
|
name: palkx
|
||||||
|
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
||||||
|
extraPullNames: nix-community
|
||||||
|
- 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
|
||||||
9
.gitea/workflows/check-commits.yml
Normal file
9
.gitea/workflows/check-commits.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
name: check-commits
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-commits:
|
||||||
|
name: Check commits
|
||||||
|
uses: xaked/actions/.gitea/workflows/cog-check.yml@2.0.0
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
name: check-flake
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
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@v30
|
|
||||||
with:
|
|
||||||
extra_nix_config: |
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
github_access_token: ${{ secrets.GH_ACCESS_TOKEN }}
|
|
||||||
nix_path: nixpkgs=channel:nixos-24.05
|
|
||||||
- uses: cachix/cachix-action@v15
|
|
||||||
with:
|
|
||||||
name: palkx
|
|
||||||
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
|
||||||
extraPullNames: nix-community
|
|
||||||
- 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
|
|
||||||
|
|
||||||
release:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: build
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- run: |
|
|
||||||
git config user.name gitea-bot
|
|
||||||
git config user.email bot@git.palkoi.net
|
|
||||||
git config --global user.email bot@git.palkoi.net
|
|
||||||
git config --global user.name gitea-bot
|
|
||||||
|
|
||||||
- name: Semver release
|
|
||||||
uses: cocogitto/cocogitto-action@v3
|
|
||||||
id: release
|
|
||||||
with:
|
|
||||||
release: true
|
|
||||||
git-user: "gitea-bot"
|
|
||||||
git-user-email: "bot@git.palkoi.net"
|
|
||||||
check-latest-tag-only: true
|
|
||||||
|
|
||||||
- name: Generate Changelog
|
|
||||||
run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md
|
|
||||||
|
|
||||||
- name: Upload github release
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
with:
|
|
||||||
body_path: GITHUB_CHANGELOG.md
|
|
||||||
tag_name: ${{ steps.release.outputs.version }}
|
|
||||||
15
.gitea/workflows/release.yml
Normal file
15
.gitea/workflows/release.yml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
name: build-flake
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build flake
|
||||||
|
uses: ./.gitea/workflows/build-flake.yml
|
||||||
|
release:
|
||||||
|
name: Release a new version
|
||||||
|
needs: build
|
||||||
|
uses: xaked/actions/.gitea/workflows/cog-release.yml@2.0.0
|
||||||
@@ -11,7 +11,8 @@ require("lazy").setup({
|
|||||||
spec = {
|
spec = {
|
||||||
-- add LazyVim and import its plugins
|
-- add LazyVim and import its plugins
|
||||||
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
|
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
|
||||||
{ import = "lazyvim.plugins.extras.coding.blink" },
|
-- Blink currently not supported by all extras 2024-11-19 11:08
|
||||||
|
-- { import = "lazyvim.plugins.extras.coding.blink" },
|
||||||
{ import = "lazyvim.plugins.extras.editor.illuminate" },
|
{ import = "lazyvim.plugins.extras.editor.illuminate" },
|
||||||
{ import = "lazyvim.plugins.extras.editor.outline" },
|
{ import = "lazyvim.plugins.extras.editor.outline" },
|
||||||
{ import = "lazyvim.plugins.extras.editor.telescope" },
|
{ import = "lazyvim.plugins.extras.editor.telescope" },
|
||||||
@@ -31,12 +32,12 @@ require("lazy").setup({
|
|||||||
{ import = "lazyvim.plugins.extras.lang.sql" },
|
{ import = "lazyvim.plugins.extras.lang.sql" },
|
||||||
{ import = "lazyvim.plugins.extras.lang.terraform" },
|
{ import = "lazyvim.plugins.extras.lang.terraform" },
|
||||||
{ import = "lazyvim.plugins.extras.lang.toml" },
|
{ import = "lazyvim.plugins.extras.lang.toml" },
|
||||||
|
{ import = "lazyvim.plugins.extras.lang.typescript" },
|
||||||
{ import = "lazyvim.plugins.extras.lang.yaml" },
|
{ import = "lazyvim.plugins.extras.lang.yaml" },
|
||||||
|
{ import = "lazyvim.plugins.extras.ui.mini-animate" },
|
||||||
{ import = "lazyvim.plugins.extras.ui.mini-indentscope" },
|
{ import = "lazyvim.plugins.extras.ui.mini-indentscope" },
|
||||||
{ import = "lazyvim.plugins.extras.ui.treesitter-context" },
|
{ import = "lazyvim.plugins.extras.ui.treesitter-context" },
|
||||||
{ import = "plugins.catppuccin" },
|
{ import = "plugins.catppuccin" },
|
||||||
-- { import = "plugins.tokyonight" },
|
|
||||||
-- { import = "plugins.lang.nix" },
|
|
||||||
{ import = "plugins.lang.shell" },
|
{ import = "plugins.lang.shell" },
|
||||||
{ import = "plugins.misc.tmux-navigator" },
|
{ import = "plugins.misc.tmux-navigator" },
|
||||||
},
|
},
|
||||||
@@ -46,28 +47,14 @@ require("lazy").setup({
|
|||||||
lazy = false,
|
lazy = false,
|
||||||
-- It's recommended to leave version=false for now, since a lot the plugin that support versioning,
|
-- It's recommended to leave version=false for now, since a lot the plugin that support versioning,
|
||||||
-- have outdated releases, which may break your Neovim install.
|
-- have outdated releases, which may break your Neovim install.
|
||||||
version = false, -- always use the latest git commit
|
version = nil, -- always use the latest git commit
|
||||||
-- version = "*", -- try installing the latest stable version for plugins that support semver
|
-- version = "*", -- try installing the latest stable version for plugins that support semver
|
||||||
},
|
},
|
||||||
news = {
|
|
||||||
lazyvim = false,
|
|
||||||
neovim = false,
|
|
||||||
},
|
|
||||||
install = { colorscheme = { "catppuccin-macchiato" } },
|
install = { colorscheme = { "catppuccin-macchiato" } },
|
||||||
checker = { enabled = true }, -- automatically check for plugin updates
|
checker = { enabled = true, frequency = 60 * 60 * 24 }, -- automatically check for plugin updates once per day
|
||||||
performance = {
|
performance = {
|
||||||
rtp = {
|
cache = {
|
||||||
-- disable some rtp plugins
|
enabled = true,
|
||||||
disabled_plugins = {
|
|
||||||
"gzip",
|
|
||||||
-- "matchit",
|
|
||||||
-- "matchparen",
|
|
||||||
-- "netrwPlugin",
|
|
||||||
"tarPlugin",
|
|
||||||
"tohtml",
|
|
||||||
"tutor",
|
|
||||||
"zipPlugin",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
9
config/src/nvim/lua/plugins/misc/bigfile.lua
Normal file
9
config/src/nvim/lua/plugins/misc/bigfile.lua
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
return {
|
||||||
|
-- Disable certain features if file is big
|
||||||
|
{
|
||||||
|
"LunarVim/bigfile.nvim",
|
||||||
|
opts = {
|
||||||
|
filesize = 0.5,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
54
flake.lock
generated
54
flake.lock
generated
@@ -3,11 +3,11 @@
|
|||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696426674,
|
"lastModified": 1732722421,
|
||||||
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
"narHash": "sha256-HRJ/18p+WoXpWJkcdsk9St5ZiukCqSDgbOGFa8Okehg=",
|
||||||
"owner": "edolstra",
|
"owner": "edolstra",
|
||||||
"repo": "flake-compat",
|
"repo": "flake-compat",
|
||||||
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
"rev": "9ed2ac151eada2306ca8c418ebd97807bb08f6ac",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -106,11 +106,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731363552,
|
"lastModified": 1732021966,
|
||||||
"narHash": "sha256-vFta1uHnD29VUY4HJOO/D6p6rxyObnf+InnSMT4jlMU=",
|
"narHash": "sha256-mnTbjpdqF0luOkou8ZFi2asa1N3AA2CchR/RqCNmsGE=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "cd1af27aa85026ac759d5d3fccf650abe7e1bbf0",
|
"rev": "3308484d1a443fc5bc92012435d79e80458fe43c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -170,14 +170,16 @@
|
|||||||
"git-hooks": "git-hooks",
|
"git-hooks": "git-hooks",
|
||||||
"hercules-ci-effects": "hercules-ci-effects",
|
"hercules-ci-effects": "hercules-ci-effects",
|
||||||
"neovim-src": "neovim-src",
|
"neovim-src": "neovim-src",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731567714,
|
"lastModified": 1733098025,
|
||||||
"narHash": "sha256-eGjOMrgSQGZrrNmy26KMMdjtNwxeC4DFILBssHLxlBo=",
|
"narHash": "sha256-HOzahkMv67wtSYcudRpGqNXjFwFoc2lwq0+Ev6h8T3k=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "neovim-nightly-overlay",
|
"repo": "neovim-nightly-overlay",
|
||||||
"rev": "431606b326271c863550ddcc6ef6e731875bea0f",
|
"rev": "73ec92a4c2773ead4af1c657ea81142d4a27fe78",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -189,11 +191,11 @@
|
|||||||
"neovim-src": {
|
"neovim-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731513445,
|
"lastModified": 1733090308,
|
||||||
"narHash": "sha256-QesA3NMobwk+rGZERmqur8ksSTX9ZZuCQl18Jy/n4XI=",
|
"narHash": "sha256-oIbVYa5y0lgXDRaZUn0MdAKC2Vf9OakbtIFmbhL8K1k=",
|
||||||
"owner": "neovim",
|
"owner": "neovim",
|
||||||
"repo": "neovim",
|
"repo": "neovim",
|
||||||
"rev": "e5cd5098f8fabba41efd3b8491b264c5f73326d3",
|
"rev": "feb62d5429680278c1353c565db6bb3ecb3b7c24",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -204,37 +206,25 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731245184,
|
"lastModified": 1732981179,
|
||||||
"narHash": "sha256-vmLS8+x+gHRv1yzj3n+GTAEObwmhxmkkukB2DwtJRdU=",
|
"narHash": "sha256-F7thesZPvAMSwjRu0K8uFshTk3ZZSNAsXTIFvXBT+34=",
|
||||||
"owner": "NixOS",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "aebe249544837ce42588aa4b2e7972222ba12e8f",
|
"rev": "62c435d93bf046a5396f3016472e8f7c8e2aed65",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "nixos",
|
||||||
"ref": "nixpkgs-unstable",
|
"ref": "nixos-24.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 0,
|
|
||||||
"narHash": "sha256-mwrFF0vElHJP8X3pFCByJR365Q2463ATp2qGIrDUdlE=",
|
|
||||||
"path": "/nix/store/dxdcvjnvz3b91gvsrhpb7gp156nnj8bf-source",
|
|
||||||
"type": "path"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"id": "nixpkgs",
|
|
||||||
"type": "indirect"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
description = "NVIM Configuration";
|
description = "NVIM Configuration";
|
||||||
inputs = {
|
inputs = {
|
||||||
# nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
neovim-nightly-overlay = {
|
neovim-nightly-overlay = {
|
||||||
url = "github:nix-community/neovim-nightly-overlay";
|
url = "github:nix-community/neovim-nightly-overlay";
|
||||||
# inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,8 @@
|
|||||||
zulu # java11
|
zulu # java11
|
||||||
fish
|
fish
|
||||||
fzf
|
fzf
|
||||||
perl536
|
perl540
|
||||||
perl536Packages.CPAN
|
perl540Packages.CPAN
|
||||||
unzip
|
unzip
|
||||||
tree-sitter
|
tree-sitter
|
||||||
gnumake
|
gnumake
|
||||||
|
|||||||
Reference in New Issue
Block a user