Commit graph

139 commits

Author SHA1 Message Date
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