Commit graph

60 commits

Author SHA1 Message Date
Oliver Davies dc9ee849bb fix: use the generated Alacritty configuration 2023-04-05 23:11:32 +01:00
Oliver Davies 32876821a9 feat: add Meslo font 2023-04-05 23:09:47 +01:00
Oliver Davies 1a9b54fff9 fix(zsh): add prompt with zplug 2023-04-05 23:09:27 +01:00
Oliver Davies 601f6b3373 fix: fix customVim overlay in NixOS 2023-04-05 17:51:24 +01:00
Oliver Davies 5a08bdc7ea chore(git): remove the g function
This is now used as an alias for `git`.
2023-04-05 17:17:30 +01:00
Oliver Davies 6974d288a5 feat(nvim): add vim and vi aliases 2023-04-05 16:59:13 +01:00
Oliver Davies 4e5ab16937 feat: initial commit of NixOS on my Infinitybook 2023-04-05 16:57:41 +01:00
Oliver Davies cc7aaa2144 feat: change Caps Lock behaviour on Pop!_OS 2023-03-23 21:28:52 +00:00
Oliver Davies 07bc20fc81 chore(packages): remove zoxide 2023-03-23 00:04:39 +00:00
Oliver Davies 8a22a861d4 refactor(nvim): move custom plugins to an overlay 2023-03-22 23:23:33 +00:00
Oliver Davies 6771dd33d4 chore: remove zoxide 2023-03-22 22:59:58 +00:00
Oliver Davies 8211af71e3 refactor(packages): add packages.nix 2023-03-22 22:56:56 +00:00
Oliver Davies 401c9e4660 chore(nvim): remove sumneko-lua-language-server 2023-03-22 22:48:06 +00:00
Oliver Davies 2fb3745307 Update common.nix 2023-03-22 22:46:08 +00:00
Oliver Davies f419f2bd52 feat(zsh): update plugins 2023-03-22 22:27:49 +00:00
Oliver Davies 8b8a9f1ce5 feat(nvim): config updates 2023-03-22 22:24:53 +00:00
Oliver Davies 5581ebc1f3 fix: re-add Ansible language server 2023-03-21 22:16:24 +00:00
Oliver Davies d5fa2b558b feat: make working with Pulumi in Python nicer 2023-03-14 11:18:53 +00:00
Oliver Davies 22a99b4258 feat(nvim): try vim-fugitive and vim-rhubarb 2023-02-09 07:37:05 +00:00
Oliver Davies 7cf17e5550 feat(nvim): add telescope-live-grep-args 2023-02-07 20:24:42 +00:00
Oliver Davies 1ed3bc8b57 feat(nvim): use Neovim nightly 2023-02-07 20:24:42 +00:00
Oliver Davies fe77f1cfe0 Remove pdfpc 2023-01-30 22:08:56 +00:00
Oliver Davies 555b954c9a nvim: treesitter: enable autotag 2023-01-30 22:08:14 +00:00
Oliver Davies f4a3b20f91 Add ionotify tools 2023-01-30 21:57:02 +00:00
Oliver Davies fb8ce83e9f alacritty: add configuration
Add the whole file rather than adding it via Home Manager as that causes
a conflict with Pop!_OS where Alacritty is installed via Flatpak rather
than via Nix/Home Manager.

This may be something to try again in future.
2023-01-18 09:47:58 +00:00
Oliver Davies 19177de131 feat(nvim): add vim-caser plugin 2023-01-13 18:18:27 +00:00
Oliver Davies e4b8ea9e33 feat: add Astro language server 2023-01-13 01:39:19 +00:00
Oliver Davies ac0c71775d feat(zsh): automatically expand aliases
Automatically expand aliases after the space key is pressed, unless it
was added using the `ialias` function.

This is something that I saw on Sebastian Daschner's videos
(https://www.sebastian-daschner.com,
https://www.youtube.com/@SebastianDaschnerIT) and is from his dotfiles
(https://github.com/sdaschner/dotfiles).
2023-01-13 01:39:19 +00:00
Oliver Davies 4c03eb55e2 feat: add packages 2023-01-13 01:39:19 +00:00
Oliver Davies c363640a93 feat(zsh): set ZSH opts 2023-01-13 01:39:19 +00:00
Oliver Davies 07e552df83 feat(nvim): add new plugins 2023-01-04 22:16:14 +00:00
Oliver Davies 25306a0093 feat: add http-server 2023-01-03 13:05:36 +00:00
Oliver Davies 5dd5d77b02 feat: add doppler 2023-01-03 12:22:16 +00:00
Oliver Davies 0371434311 feat(nvim): use floaterm for running tests 2022-12-28 17:55:49 +00:00
Oliver Davies 373c824caf chore(nvim): add prefix to Vim plugin names
Make it easier to differentiate between Vim plugins that are available
in the Nix store and those that have been added and built manually.
2022-12-27 17:01:25 +00:00
Oliver Davies e6c7d6e69a feat(nvim): re-add dial.nvim
https://github.com/monaqa/dial.nvim
2022-12-27 16:48:31 +00:00
Oliver Davies 5c10e51af5 feat(nvim): re-add tabline.vim plugin
https://github.com/mkitt/tabline.vim
2022-12-27 16:37:39 +00:00
Oliver Davies 967e443b34 feat(nvim): re-add Ansible language server 2022-12-27 16:36:03 +00:00
Oliver Davies e4a1c2fb37 feat(nvim): add nvim_lsp_signature_help 2022-12-26 21:06:11 +00:00
Oliver Davies fcccc0906b feat: add terraform 2022-12-21 11:41:33 +00:00
Oliver Davies 3f61fa3824 fix: update paths 2022-12-21 11:40:36 +00:00
Oliver Davies 7235dc60dd refactor: delete old Ansible configuration
- Remove the Ansible files.
- Move the Nix files to the root level of the repository.

Refs: #39
2022-12-20 20:00:28 +00:00
Oliver Davies e01784d8ce chore: move nix files 2022-09-29 19:29:50 +01:00
Oliver Davies c7b4055a95 feat: add markdownlint 2022-09-29 19:25:48 +01:00
Oliver Davies f4c9e5c83b feat(nvim): add Neovim plugins 2022-09-29 15:17:25 +01:00
Oliver Davies 228086f19a fix(zsh): include powerlevel10k configuration 2022-09-29 15:17:25 +01:00
Oliver Davies 691da2a053 revert(alacritty): configure Alacritty
This reverts commit afa768224855f4c1136eb3b62c2b09224f25ade0.
2022-09-29 15:17:25 +01:00
Oliver Davies a02f5bb68b refactor: extract a common module
diff --git a/configuration/pop-os/default.nix b/configuration/pop-os/default.nix
index 9ed9e69..2287793 100644
--- a/configuration/pop-os/default.nix
+++ b/configuration/pop-os/default.nix
@@ -3,6 +3,7 @@
 {
   imports = [
     ../../home-manager/modules/alacritty.nix
+    ../../home-manager/modules/common.nix
     ../../home-manager/modules/git.nix
     ../../home-manager/modules/home-manager.nix
     ../../home-manager/modules/tmux.nix
@@ -15,9 +16,5 @@
     docker
     docker-compose
     jetbrains-mono
-    just
-    neovim
   ];
-
-  programs.bat.enable = true;
 }
diff --git a/configuration/wsl2/default.nix b/configuration/wsl2/default.nix
index 84c1242..de6afe3 100644
--- a/configuration/wsl2/default.nix
+++ b/configuration/wsl2/default.nix
@@ -2,17 +2,10 @@

 {
   imports = [
+    ../../home-manager/modules/common.nix
     ../../home-manager/modules/git.nix
     ../../home-manager/modules/home-manager.nix
     ../../home-manager/modules/tmux.nix
     ../../home-manager/modules/zsh.nix
   ];
-
-  home.packages = with pkgs; [
-    just
-    neovim
-    zsh
-  ];
-
-  programs.bat.enable = true;
 }
diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix
new file mode 100644
index 0000000..0a77fe8
--- /dev/null
+++ b/home-manager/modules/common.nix
@@ -0,0 +1,9 @@
+{ config, lib, pkgs, ... }:
+{
+  home.packages = with pkgs; [
+    just
+    neovim
+  ];
+
+  programs.bat.enable = true;
+}
2022-09-29 15:17:25 +01:00
Oliver Davies ecab676b75 refactor: move OS configuration files 2022-09-29 15:17:25 +01:00
Oliver Davies c08df2a342 feat(alacritty): configure Alacritty 2022-09-29 15:17:25 +01:00