1
0
forked from extern/nix-config
Commit Graph

1300 Commits

Author SHA1 Message Date
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
Donovan Glover
ab92960987
gtk: Use generic themes
This simplifies things a bit.
2023-05-02 20:59:27 -04:00
Donovan Glover
6bfdb67480
hyprland: Add multi-monitor support to tags.sh
This fixes an issue where the script would previously fail to work with
multiple monitors.
2023-04-30 21:09:24 -04:00
Donovan Glover
8e203e5a84
hyprland: Add focusmaster script 2023-04-30 21:07:53 -04:00
Donovan Glover
534e5c93ad
vim: Update .vimrc 2023-04-30 19:38:43 -04:00
Donovan Glover
f55258e94f
Update LICENSE 2023-04-30 19:37:54 -04:00
Donovan Glover
d4a4438852
hyprland: Use blur
Blur now makes sense since rofi and yambar are possible to blur as well.
2023-04-30 18:42:07 -04:00
Donovan Glover
f9efa2a364
rofi: Update config.rasi
One notable change is that it's now possible to select entries with a
single click.
2023-04-30 18:36:48 -04:00
Donovan Glover
1dd1f46554
rofi: Use launchpad theme
This is a slightly modified version of Newman Sánchez's launchpad theme
that adds pywal support and makes the icons bigger.
2023-04-30 18:33:11 -04:00
Donovan Glover
8004d74a17
yambar: Simplify battery icon 2023-04-30 17:35:40 -04:00
Donovan Glover
bc9a42e7bd
yambar: Sleep twice as long
Later it may be possible to only update yambar on hyprland events.
2023-04-30 17:32:49 -04:00
Donovan Glover
37a3d9450e
fish: Update config
- Added opus function
- Moved ex function to separate file
2023-04-30 16:02:37 -04:00
Donovan Glover
03d7b50ca6
dunst: Change font 2023-04-30 16:01:44 -04:00
Donovan Glover
9ca761e7cd
hyprland: Update config
Notable changes:

- Set a background, start yambar, set volume, and play audio on startup
- Remove gaps by default
- Remove blur
- Increase special scale factor
- Show red for xwayland windows
2023-04-30 15:00:50 -04:00
Donovan Glover
25cb38bed7
polybar: Update config 2023-04-30 14:17:52 -04:00