Commit graph

206 commits

Author SHA1 Message Date
Oliver Davies c600c30e22 Revert "Use zoxide to provide paths to fzf"
This reverts commit 54fdbd71d9.
2023-12-19 20:50:12 +00:00
Oliver Davies 029b2f1721 Update the Git commit message template 2023-12-18 11:31:23 +00:00
Oliver Davies 782f3e4b10 Add prettier as a formatter 2023-12-18 11:30:51 +00:00
Oliver Davies 3e58c64014 Update the Git commit message template 2023-12-17 20:29:39 +00:00
Oliver Davies 5e6bee6432 Manage ripgrep with Home Manager 2023-12-17 17:52:59 +00:00
Oliver Davies 8deb363f76 Add :website to espanso 2023-12-15 11:24:50 +00:00
Oliver Davies a6be7cabc4 Revert "Add openssl"
This reverts commit 22aa32f852.
2023-12-15 11:16:09 +00:00
Oliver Davies 4bbcbc6c4f Configure i3status 2023-12-15 11:16:09 +00:00
Oliver Davies 7124abf983 Add :dotfiles to espanso 2023-12-15 11:16:09 +00:00
Oliver Davies 74cf7c2a99 Add espanso 2023-12-15 00:00:37 +00:00
Oliver Davies 22aa32f852 Add openssl 2023-12-13 10:25:55 +00:00
Oliver Davies 933a6b288e Remove just 2023-12-13 10:25:34 +00:00
Oliver Davies 6df789852e Change tmux pane border style colours 2023-12-13 06:32:21 +00:00
Oliver Davies 580e7c7940 Remove terraform
Remove `terraform` from the global Home Manager packages as this is now
added into per-project Flakes instead.
2023-12-13 01:03:41 +00:00
Oliver Davies 0e070b55bd Add xsel for copying to the system clipboard 2023-12-13 01:03:21 +00:00
Oliver Davies bdfeb83cb0 Update default workspaces for Alacritty and VLC 2023-12-12 20:29:58 +00:00
Oliver Davies 9ec1f48792 Move autorandr configuration to its own module 2023-12-12 20:29:56 +00:00
Oliver Davies b40e25dea0 Revert "Switch to unstable by default"
This reverts commit 3c7877776e.

Slack was broken when using the unstable version of nixpkgs.
2023-12-12 20:17:40 +00:00
Oliver Davies 54fdbd71d9 Use zoxide to provide paths to fzf 2023-12-11 21:25:23 +00:00
Oliver Davies 5daa6f85af Use autorandr for monitor management 2023-12-07 09:11:42 +00:00
Oliver Davies 3c7877776e Switch to unstable by default 2023-12-06 15:36:10 +00:00
Oliver Davies 80860fe6df Upgrade nixpkgs to 23.11 2023-12-03 08:54:29 +00:00
Oliver Davies c40d215db3 Remove space before the left status in tmux 2023-11-29 09:53:10 +00:00
Oliver Davies 50311f4102 Update Home Manager desktop packages 2023-11-29 09:46:39 +00:00
Oliver Davies 024384303f feat(i3): more key mappings 2023-11-21 23:16:17 +00:00
Oliver Davies 249f05860f feat(neovim): configure markdownlint
Prevent diagnostic messages for duplicate sibling headings and line
length.
2023-11-21 16:16:40 +00:00
Oliver Davies eeae7c00ef chore(nixos): switch to lightdm 2023-11-19 08:41:14 +00:00
Oliver Davies f3ae000713 feat(i3): re-add workspace switching 2023-11-16 19:11:50 +00:00
Oliver Davies 2124965f86 chore(git): move global gitignore to .config 2023-11-15 21:00:42 +00:00
Oliver Davies 6d12f5c2d5 feat(git): globally ignore a .ignored directory 2023-11-15 20:55:19 +00:00
Oliver Davies f44231d595 chore(tmux): update status line 2023-11-15 19:03:45 +00:00
Oliver Davies 00593ad29d feat(home-manager): add kdenlive and OBS Studio 2023-11-15 08:52:28 +00:00
Oliver Davies d68d1aa679 refactor: switch from sway to i3 2023-11-15 08:52:28 +00:00
Oliver Davies eb622e5e45 fix(tmux): update repo paths 2023-11-14 21:17:26 +00:00
Oliver Davies 6c93891bd0 fix(flake): attribute 'inputs' missing 2023-11-09 12:55:20 +00:00
Oliver Davies 5449d8c021 chore(nvim): configure lualine 2023-11-07 07:53:58 +00:00
Oliver Davies ec23fb1431 refactor(nixos): extract Home Manager modules 2023-11-07 07:20:47 +00:00
Oliver Davies 2968f5396d feat(nixos): configure garbage collection and
...optimisation
2023-11-07 00:07:24 +00:00
Oliver Davies 282b764ba6 refactor(nvim): split into modules 2023-11-06 23:48:09 +00:00
Oliver Davies 8f5a8dee66 refactor(flake): move pkgs 2023-11-06 23:24:53 +00:00
Oliver Davies 6c610fea29 feat(nvim): use rstfmt for rst file formatting
Add `vimPlugins.conform-nvim` to add formatting rst files with `rstfmt`.

This isn't supported as a formatter in `none-ls`, and I wanted to try
and potentially switch to `conform-nvim` and `nvim-lint` in the future,
so this is a potential first step towards that.

`rstfmt` itself is already installed and available within my additional
Vim packages.

This currently needs to be run manually, as I don't want to change my
default keybind for formatting until I've supported all the filetypes and formatters
I have in `none-ls`.

To run the foramt manually, run `:lua require"conform".format()`.

See:

- https://github.com/stevearc/conform.nvim
- https://github.com/mfussenegger/nvim-lint
- https://pypi.org/project/rstfmt
- https://www.youtube.com/watch?v=ybUE4D80XSk
2023-11-04 21:46:13 +00:00
Oliver Davies 9dc52fc3a0 feat(nixos): add fonts 2023-11-04 20:23:50 +00:00
Oliver Davies 632f220bee fix(tmux): update repo paths 2023-11-04 20:22:04 +00:00
Oliver Davies 6514792445 refactor(flake): add pkgsUnstable in other files 2023-11-04 10:29:29 +00:00
Oliver Davies ee4911cbeb chore(zsh): remove just aliases 2023-11-04 10:19:46 +00:00
Oliver Davies 9d1ca90bcc chore: update custom Nix packages 2023-11-04 09:37:29 +01:00
Oliver Davies fce21fc930 feat(zsh): add aliases 2023-10-27 21:13:59 +01:00
Oliver Davies c484d16435 revert(zsh): set keymap to vicmd
This reverts commit a0829bcb63.
2023-10-20 07:58:53 +02:00
Oliver Davies 5f3f2b2f6f fix(nvim): call treesj.setup 2023-10-20 07:58:32 +02:00
Oliver Davies 3b00490b55 refactor(nvim): add opdavies/init.lua 2023-10-18 22:57:11 +02:00
Oliver Davies c2ae75a465 refactor(nvim): use extraLuaConfig 2023-10-18 22:49:53 +02:00
Oliver Davies 4f2f98069c chore(nvim): use vim.loader
Improve startup performance by using `vim.loader`.

See https://www.youtube.com/watch?v=ixq3g_D3SVs
2023-10-18 22:48:58 +02:00
Oliver Davies c9af4cf4c9 feat(git): set push.autoSetupRemote to true 2023-10-18 22:44:06 +02:00
Oliver Davies 0531c2ffdd chore(nvim): replace splitjoin with treesj 2023-10-18 22:42:48 +02:00
Oliver Davies 1c42a0d397 fix(nvim): ensure PHP is available
e.g. for running Drush commands.
2023-10-16 20:15:39 +01:00
Oliver Davies a0829bcb63 chore(zsh): set keymap to vicmd 2023-10-16 20:14:55 +01:00
Oliver Davies cf5dbda4f0 chore(nvim): remove plugins temporarily
I'm removing these temporarily to see how it affects performance.
2023-10-09 00:14:49 +01:00
Oliver Davies 7b86cafc22 stable 2023-10-03 23:35:26 +01:00
Oliver Davies 3ea182c94b chore(nixos): re-organise packages
Remove packages that are either no longer used or have been moved into
per-project flakes that are used with direnv.
2023-10-03 18:44:31 +01:00
Oliver Davies b806a00ac0 build(deps): remove teams
Remove Microsoft Teams for Linux as it's no longer supported upstream.
2023-10-03 18:28:56 +01:00
Oliver Davies 57db76b1e5 refactor(nvim): replace null-ls with none-ls 2023-10-01 21:55:38 +01:00
Oliver Davies bf21d7de56 feat(nvim): use neoterm with vim-test 2023-09-29 21:31:12 +01:00
Oliver Davies ec9cc45572 feat(nvim): re-add lualine-lsp-progress 2023-09-28 07:22:58 +01:00
Oliver Davies badbf0bac3 feat(nixos): enable auto-cpufreq
See https://github.com/AdnanHodzic/auto-cpufreq

I've used `auto-cpufreq --stats` to do some initial monitoring.

Further configuration can be added with `services.auto-cpufreq.settings`,
if needed.
2023-09-28 00:53:51 +01:00
Oliver Davies 09981552c6 style: nix fmt 2023-09-27 21:02:06 +01:00
Oliver Davies 82122ee03b feat(nvim): add lualine 2023-09-27 21:01:28 +01:00
Oliver Davies 27f8980dfa feat(tmux): create a session for my website
Bind a shortcut key to create and switch to a session for my personal
website.
2023-09-27 00:16:01 +01:00
Oliver Davies ee4733438a build(deps): add go and gopls 2023-09-22 07:45:29 +01:00
Oliver Davies cb700d775a fix(nvim): revert phpactor to 23.05
This was erroring when trying to create a new PHP class but works when
reverted back to 23.05.
2023-09-19 21:01:35 +01:00
Oliver Davies 028c69bccf chore(nvim): remove unused configuration 2023-09-18 22:49:55 +01:00
Oliver Davies ec344fd4f5 refactor: remove nodemon
Removing this as I mostly use `inotifywait` via the `watch-changes`
script instead of nodemon.
2023-09-18 22:42:41 +01:00
Oliver Davies c29c49d5dd feat(nixos): add IntelOneMono font 2023-09-18 22:35:29 +01:00
Oliver Davies f93c1ba9c7 unstable by default
Switch back to using `nixpkgs-unstable` by default and using
`nixpkgs-2305` when needed, such as for `exa` which is no longer
maintained and available.

In a future commit, I'll switch to `eza` which is the recommended alternative.

https://github.com/eza-community/eza
2023-09-17 23:40:32 +01:00
Oliver Davies 2db29db470 chore(nvim): upgrade refactoring-nvim 2023-09-16 20:32:46 +01:00
Oliver Davies 5864c63cf3 feat(nvim): add friendly-snippets 2023-09-15 19:20:40 +01:00
Oliver Davies 5369ccdddd feat(zsh): re-add suffix aliases 2023-09-14 19:08:06 +01:00
Oliver Davies 944e5d7911 revert(zsh): re-add suffix aliases
This reverts commit de69d1253b.
2023-09-14 19:07:01 +01:00
Oliver Davies e649eb98bf chore(zsh): configure exa colours 2023-09-14 07:45:52 +01:00
Oliver Davies de69d1253b feat(zsh): re-add suffix aliases 2023-09-14 07:39:06 +01:00
Oliver Davies 610fc6ffbf refactor(nixos): avoid repetition of the username 2023-09-14 07:25:55 +01:00
Oliver Davies 5f2c4b18b2 chore(sway): simplify sway colours 2023-09-12 23:46:09 +01:00
Oliver Davies b6d118ed75 feat(nvim): re-add projectionist.vim
Re-add `projectionist.vim` with a minimal configuration for setting the
alternate file in basic PHP library or TypeScript projects.
2023-09-05 07:52:01 +01:00
Oliver Davies f3e2741a6f fix(nvim): add stylua 2023-09-04 11:05:17 +01:00
Oliver Davies b66a8bb3d2 chore(nvim): remove lsp-zero 2023-09-04 08:11:43 +01:00
Oliver Davies 864b9ca4a5 feat(nvim): add lua-language-server 2023-09-03 20:50:57 +01:00
Oliver Davies 4bea747ffa revert(nvim): re-add lualine and noice
This reverts commit db7d2b442f.
2023-09-01 12:11:15 +01:00
Oliver Davies 43a1ad8592 chore(zsh): remove dev and develop
These aren't needed since adding `direnv`.
2023-08-30 13:30:30 +01:00
Oliver Davies 19ed68f3ee feat(zsh): configure Starship prompt
Enable and configure the Starship prompt, removing the `package` module
and using the plain text symbols preset.
2023-08-30 10:34:22 +01:00
Oliver Davies adcbc6b3de fix(nvim): ignore .direnv from Telescope and Git 2023-08-30 10:34:01 +01:00
Oliver Davies 7c566dbe76 chore(nixos): change font 2023-08-29 23:04:25 +01:00
Oliver Davies 8f9c42ca6b feat(home-manager): enable direnv 2023-08-29 23:04:25 +01:00
Oliver Davies db7d2b442f feat(nvim): re-add lualine and noice 2023-08-29 21:46:02 +01:00
Oliver Davies 4da372c8ce fix(zsh): aliases 2023-08-29 21:45:25 +01:00
Oliver Davies 4b966a4736 chore(zsh): move aliases 2023-08-28 12:18:36 +01:00
Oliver Davies aff7d4d509 feat(nixos): add shotwell 2023-08-27 17:35:23 +01:00
Oliver Davies 90fa8596cb feat(nvim): re-add todo-comments.nvim 2023-08-27 17:34:58 +01:00
Oliver Davies 150e945417 feat(nixos): configure more Firefox settings 2023-08-27 01:57:12 +01:00
Oliver Davies ea02fc6a09 fix(git): remove unused templatedir 2023-08-27 00:31:31 +01:00
Oliver Davies 0444962168 chore(zsh): make nah a zsh alias 2023-08-27 00:30:37 +01:00
Oliver Davies a3ab645a2b feat(git): add an Refs placeholder to commit
...message body

Add an `# Refs:` placeholder to the Git commit message body that can
be replaced manually or using a `prepare-commit-msg` hook.

I have a templated Git hook that will do this within project directories
using an `.issue-id` file.
2023-08-26 22:30:12 +01:00