mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 21:03:59 +01:00
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
3e77f8f992
It turns out that since tmux sessions will stay active after you close a terminal window, it is easy to end up with a lot of empty sessions. This makes it difficult to detach and re-attach the appropriate tmux sessions. Additionally, some features of kitty (notably terminal images and dynamic background opacity) will not work inside tmux. Since kitty has its own window manager, this caveat can be easily circumvented. By invoking tmux manually instead, we also avoid the problem of nested tmux sessions. |
||
---|---|---|
.archlinux | ||
.fedora | ||
bspwm | ||
code | ||
editorconfig | ||
extras | ||
fish | ||
git | ||
gpg | ||
plasma | ||
ssh-agent | ||
tmux | ||
vim | ||
xmodmap | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md |
Dotfiles
TODO: Screenshots
Usage
If you want to mimic my entire setup, follow my Arch Linux and Fedora guides. If you only want to try some of my dotfiles, continue reading below.
Step 1. Clone this repository
Add --depth 1
to only fetch the latest commit.
git clone https://github.com/GloverDonovan/dotfiles.git --depth 1
Step 2. Install stow
- Arch Linux:
pacman -S stow
- Fedora:
dnf install stow
Step 3. Install the dotfiles you want
For example, to use my vim config, run:
make package=vim
Since my dotfiles are managed with Stow, any of your existing dotfiles will not be overridden or changed.
List of dotfiles
- bspwm - All the config files relating to my window manager setup.
- code - My config for Code, a reasonable editor for non-vim users.
- editorconfig - Spaces or tabs? Just use
.editorconfig
. - extras - A collection of miscellaneous other dotfiles I use.
- fish - My settings for fish, the friendly interactive shell.
- git - The standard version control tool.
- gpg - My settings for GPG.
- plasma - Dotfiles specific to KDE Plasma.
- systemd - User services, such as ssh-agent and urxvtd.
- tmux - A vim-like terminal multiplexer that gets out of your way.
- vim - The settings I use for vim, also known as the best editor.
- xmodmap - Make caps lock function as ctrl and escape.
Uninstall
For example, to uninstall my .vimrc
, use make uninstall package=vim
. Stow will only remove what it owns.