Commit Graph

1414 Commits

Author SHA1 Message Date
Donovan Glover
7dcaa2378e
fix: Migrate remaining kitty config to nix 2023-05-10 12:50:16 -04:00
Donovan Glover
62a75c5800
feat: Add remaining starship config
This change shows text instead of emoji and other symbols that aren't
supported in ttys.
2023-05-10 12:43:34 -04:00
Donovan Glover
077e826020
feat: Add sound support 2023-05-10 12:34:37 -04:00
Donovan Glover
c0377103bd
fix: Remove alacritty
Alacritty does not support MapleMono-NF as a font, whereas kitty does.
kitty also has other nice features such as built-in windows/tabs and
image support.
2023-05-10 11:50:15 -04:00
Donovan Glover
15b231a157
feat: Add zathura config
Note that loading a runtime file in ~/.cache/wal is no longer necessary
since configuration is done declaratively through Nix.

Although this has some downsides, such as the lack of "live reloading"
in some applications, this "feature" wasn't present across all
applications anyway.
2023-05-10 11:44:21 -04:00
Donovan Glover
55e3c4a813
feat: Add stylix
Stylix is like a maintained version of pywal but configuration changes
are managed by Nix and Home Manager, thus guaranteeing a certain level
of reproducibility with its declarative nature.
2023-05-10 11:32:47 -04:00
Donovan Glover
4e47467c7c
fix(neovim): Remove colorizer and cursorline
colorizer bugged out presumably due to order being determined by the Nix
language. I did not like cursorline however I did think cursorword was
cool, so I'm keeping that part of it for now.
2023-05-09 23:44:26 -04:00
Donovan Glover
053e365978
fix: Clean up fish abbreviations 2023-05-09 22:45:32 -04:00
Donovan Glover
c6d5150c83
feat: Add udiskie and swaylock support 2023-05-09 22:44:16 -04:00
Donovan Glover
4df1d91e19
fix(waybar): Use waybar-hyprland from flake
This fixes an issue where wlr/workspaces is considered experimental in
waybar and thus does not work with the current nixpkgs version on NixOS.

References:
- https://github.com/Alexays/Waybar/issues/1766
- https://github.com/hyprwm/Hyprland/discussions/1729
2023-05-09 22:40:06 -04:00
Donovan Glover
27f7daeece
nix(editor): Misc changes
- Added undofile
- Added spell check
- Added back built-in file explorer
- Added some plugins
2023-05-09 21:14:13 -04:00
Donovan Glover
9ef7c04c99
meta: Remove Makefile
Not needed anymore thanks to NixOS, Home Manager, and Nix Flakes.
2023-05-09 20:17:13 -04:00
Donovan Glover
2c9327b039
nix: Use hosts directory
This should make it easier to derive multiple output machines from the
same input flake.nix.
2023-05-09 20:13:37 -04:00
Donovan Glover
0b50b9ce64
hyprland: Update config
Will eventually nixify this since I find working with the Nix store much
more convenient than stowing dotfiles.
2023-05-09 19:56:36 -04:00
Donovan Glover
7b363920a2
nix: Remove GNOME stuff
Although I could technically make a gnome module and make it really easy
to switch between gnome and hyprland, I'm not really interested in
maintaining that right now.

For example, there was a recent bug in nautilus where deleted files
would not show up as deleted. There was another bug where opening a
terminal would not focus the terminal window. I'd much rather use
hyprland in this case due to the faster release cycle and simpler code
base overall.
2023-05-09 19:30:59 -04:00
Donovan Glover
619c6b5c43
meta: Remove contributing.md
For anyone that wants to contribute, you are free to do so. Now that my
configuration is simpler, however, as well as with the experience I've
gained over the years, there should be less things that need changing.
2023-05-09 19:26:39 -04:00
Donovan Glover
643a8306f3
meta: Remove changelog
This was cute, however I didn't actually use the changelog. Now that I
am using NixOS with Hyprland, the old changelog is irrelevant, and any
changes I make should be easily discoverable since things are simpler
now.
2023-05-09 19:23:27 -04:00
Donovan Glover
7c6534cd7c
meta: Continue removing old dotfiles 2023-05-09 19:01:30 -04:00
Donovan Glover
a3b4b2b08b
fish: Clean up config
Should be able to get rid of most of this later.
2023-05-09 15:59:49 -04:00
Donovan Glover
b95cc4184a
nix: Update editor.nix
Was trying out some neovim plugins with Nix. Pretty cool that I don't
have to worry about using *another* package manager like packer.nvim.
2023-05-09 14:08:46 -04:00
Donovan Glover
e1d740fb63
nix: Abstract hyprland config into separate module
This should make it easy to switch between hyprland and other
environments if wanted.
2023-05-09 14:04:01 -04:00
Donovan Glover
1c99ffd784
nix: Modularize editor
Now I know how to abstract modules into separate files instead of having
one big file for everything.
2023-05-09 11:43:39 -04:00
Donovan Glover
f8e257a89d
nix: Add basic neovim config
This should eventually replace the old .vimrc.
2023-05-09 10:18:39 -04:00
Donovan Glover
5b402f4804
nix: Add home-manager config 2023-05-09 00:45:59 -04:00
Donovan Glover
4cfacb73ae
nix: Add hardware-configuration.nix 2023-05-09 00:35:14 -04:00
Donovan Glover
de7c391ba4
nix: Update lockfile 2023-05-08 22:16:46 -04:00
Donovan Glover
0230c9b4b0
home-manager: Use master branch 2023-05-08 22:16:27 -04:00
Donovan Glover
2cc88a5f4c
meta: Remove more old dotfiles
- alacritty: Prefer kitty.
- dual-function-keys: Managed with Nix.
- editorconfig: Managed with home-manager.
- librewolf: Managed with home-manager.
- river: Prefer hyprland.
- swayidle: Can use home-manager.
- swaylock: Managed with home-manager.
- yambar: Prefer waybar for simplicity.
2023-05-08 21:31:32 -04:00
Donovan Glover
a8f7f8702e
meta: Remove unused packages
- code: No plans to use anything that isn't neovim.
- picom: Don't need anymore thanks to Hyprland.
- polybar: X11-only. yambar/waybar work as alternatives.
- tint2: X11-only. Functionality can be replicated with waybar.
- xinit: No need when using Wayland.
2023-05-08 15:39:02 -04:00
Donovan Glover
5e5f64dc80
nix: Add starship config
Similar to fish, there's some relief in knowing that I can declare my
starship settings in Nix and have them accessible from any user on the
machine, even root.
2023-05-08 14:26:00 -04:00
Donovan Glover
c0810fd98e
nix: Add fish abbreviations
I originally wasn't going to mix logic from my dotfiles with NixOS,
however I was unable to simply use my abbreviations after adding
~/.config/fish/config.fish, so I decided to give it a try.

Using Nix to manage fish abbreviations feels nicer than using a
config.fish because I am now easily able to manipulate these
abbreviations with the limitless possibilities of the Nix language, and
with the guarantee that the output is reproducible.
2023-05-08 14:18:41 -04:00
Donovan Glover
bc722c5043
meta: Remove paru
Paru is no longer needed since I use Nix instead, which doesn't need an
AUR helper.
2023-05-08 13:58:08 -04:00
Donovan Glover
3236df33f6
nix: Update configuration.nix
Highlights:

- Added a test container with network configuration and Wayland support
- Added GNOME/Hyprland support with SDDM
- Added Git/Starship/GPG support
- Properly added Neovim support with .enable
- Various package changes
- Made caps lock function as escape on tap, left ctrl on hold
- Print screen functions as right super on hold
2023-05-08 13:56:53 -04:00
Donovan Glover
d69fe99210
nix: Use nixos-unstable
This fixes an issue where the exact branch wasn't specified before.
2023-05-08 13:40:15 -04:00
Donovan Glover
26f4ee265b
nix: Add flake.lock 2023-05-08 13:38:39 -04:00
Donovan Glover
c15dc29944
meta: Remove bspwm/sxhkd
I used bspwm for over half a decade, and although it was great, I am now
interested in using Hyprland, which is basically bspwm for Wayland but
better.
2023-05-08 13:31:48 -04:00
Donovan Glover
d654c01f30
nix: Fix nixpkgs url 2023-05-08 13:19:45 -04:00
Donovan Glover
30589fe822
misc: Update styles
Will automate the bar color changes later.
2023-05-04 23:54:04 -04:00
Donovan Glover
12963e54d5
hyprland: Fix focus on swapmaster
This fixes an issue where swapmaster wouldn't focus master when swapping
after changing between a non-empty workspace.
2023-05-04 22:17:42 -04:00
Donovan Glover
41b803ec19
nix: Update configuration.nix
home-manager shouldn't be needed here since it's managed by the flake
instead.
2023-05-04 13:19:56 -04:00
Donovan Glover
00fc33cad8
nix: Add flake.nix
This may or may not work; I haven't tested it yet.
2023-05-04 13:09:55 -04:00
Donovan Glover
abd2d1a4cf
meta: Add configuration.nix
These are my first steps towards using Nix and NixOS to declaratively
configure a reasonably good development environment. I am aware that
there are various paradigms that include using home manager and/or
flakes, however I am still exploring with a simple configuration.nix.
2023-05-03 01:26:59 -04:00
Donovan Glover
665a9d6099
meta: Add migration notice to README 2023-05-03 01:15:17 -04:00
Donovan Glover
947aba84a4
mpv: Update config 2023-05-02 22:06:12 -04:00
Donovan Glover
6036a9821a
yambar: Update config 2023-05-02 21:58:03 -04:00
Donovan Glover
a2dd9cedc8
kitty: Update config 2023-05-02 21:57:27 -04:00
Donovan Glover
84b3bc37ee
hyprland: Add performance script from wiki 2023-05-02 21:51:11 -04:00
Donovan Glover
b99d7f8395
swaylock: Update config
swaylock-effects is no longer used for simplicity.
2023-05-02 21:40:15 -04:00
Donovan Glover
971ce5fb63
yambar: Add title script 2023-05-02 21:37:15 -04:00
Donovan Glover
6da8592a15
librewolf: Update overrides 2023-05-02 21:33:58 -04:00