1
0
forked from extern/nix-config
Commit Graph

1340 Commits

Author SHA1 Message Date
Donovan Glover
c45a96764f
nix: Continue nixification 2023-05-11 12:56:13 -04:00
Donovan Glover
5322fc02b8
nix: Nixify more dotfiles 2023-05-11 07:30:58 -04:00
Donovan Glover
0d0c00f1d9
nix: Nixify feh
Although it would be nice to use a Wayland image viewer, currently all
of them (that I am aware of) suffer from anti-aliasing issues not present
in feh.
2023-05-11 00:46:26 -04:00
Donovan Glover
ac3769d21c
nix: Nixify dunst 2023-05-11 00:29:03 -04:00
Donovan Glover
23ddf7de1a
nix: Nixify mpv 2023-05-11 00:05:19 -04:00
Donovan Glover
8f84edcce3
Remove old tmux config
In the event that I need to use tmux, the default config is fine.
2023-05-10 23:35:08 -04:00
Donovan Glover
1128ee65fd
wip: Neoify vim config
Removing old and outdated stuff that is no longer relevant or doesn't
apply to neovim specifically.
2023-05-10 23:31:01 -04:00
Donovan Glover
be51dac62a
nix: Use nixpkgs for stylix 2023-05-10 22:43:11 -04:00
Donovan Glover
2fa459de0c
Update .gitignore 2023-05-10 22:19:36 -04:00
Donovan Glover
601a903787
Add new README 2023-05-10 16:47:35 -04:00
Donovan Glover
451c1f7d89
meta: Remove old README
Goodbye, old readme.
2023-05-10 15:36:12 -04:00
Donovan Glover
0d806e7f2d
fish: Start hyprland by default on tty1 2023-05-10 15:28:18 -04:00
Donovan Glover
eacd7f7392
nix: Various changes
- Changed some packages
- Changed fonts
- Removed autostart from container
2023-05-10 15:26:08 -04:00
Donovan Glover
1e6a35b242
fix: Don't use a display manager
This fixes an issue where a display manager like sddm increases the
complexity of the system.
2023-05-10 15:22:53 -04:00
Donovan Glover
8745033373
hyprland: Use background from nix store
Note that instead of searching for the background at runtime, it is
likely possible to reference the background at build time when the
hyprland config is migrated to Nix.
2023-05-10 15:12:01 -04:00
Donovan Glover
1a3583567b
Remove wal
This isn't needed anymore since Stylix is quite cool and modifies color
schemes at the system level.
2023-05-10 15:08:34 -04:00
Donovan Glover
10908e340b
feat: Add xdg-user-dirs support 2023-05-10 14:37:42 -04:00
Donovan Glover
5230741e65
feat: Add mpd/ncmpcpp 2023-05-10 13:51:21 -04:00
Donovan Glover
cd32ad2e27
feat: Add gtk config 2023-05-10 13:51:05 -04:00
Donovan Glover
e05914ae18
feat: Add tig config 2023-05-10 13:49:47 -04:00
Donovan Glover
50b4a48709
Begin cleaning up archlinux directory
After using Nix and NixOS for a few days, I can't believe I did
something like this in the past. Having a single reproducible flake is
significantly more pragmatic than imperatively configuring everything.
2023-05-10 13:45:10 -04:00
Donovan Glover
ef97a778aa
fix: Add wallpaper.png
A wallpaper is required for Stylix to work, so I added one with base00
as the background color and the NixOS logo as the foreground image.

Credit for the logo goes to the original author who licensed it under
CC-BY: https://releases.nixos.org/nix-dev/2016-October/021876.html
2023-05-10 13:21:31 -04:00
Donovan Glover
176a8b6597
feat: Add dunst support 2023-05-10 12:52:58 -04:00
Donovan Glover
88ccef09b3
feat: Add bat support 2023-05-10 12:52:45 -04:00
Donovan Glover
0d23db84da
feat: Start kitty from thunar 2023-05-10 12:52:23 -04:00
Donovan Glover
680668ede2
feat: Migrate xresources and cursor theme to nix 2023-05-10 12:52:02 -04:00
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