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.
067c010df8
Since changing the default shell to fish without breaking Fedora with GNOME is non-trivial, I instead set the option from the terminal emulator itself. Although this won't carry over to ttys and other environments, it should be simple enough to start fish manually when needed. |
||
---|---|---|
.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.