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.
b2c252d82a
After a considerable amount of research, I finally understand how to use chmod and what file permissions in linux actually mean. It turns out that git can commit both regular files (644 permission) and executable files (755 permission). This is great since changing file permissions manually after a git clone is no longer needed. This useful feature is enabled by default, however, it seems like I disabled it a long time ago. If this is you, simply re-enable it by setting `filemode` to true in your .git/config. |
||
---|---|---|
.archlinux | ||
.fedora | ||
bspwm | ||
code | ||
editorconfig | ||
extras | ||
fish | ||
git | ||
gpg | ||
plasma | ||
systemd | ||
tmux | ||
vim | ||
xmodmap | ||
LICENSE | ||
Makefile | ||
README.md |
Dotfiles
TODO: Screenshots
Usage
Step 0. Clone this repository
Add --depth 1
to only fetch the latest commit.
git clone https://github.com/GloverDonovan/dotfiles.git --depth 1
Step 1. Install stow
- Arch Linux:
pacman -S stow
- Fedora:
dnf install stow
Step 2. 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
If you don't want to use some of my dotfiles anymore, they can be easily uninstalled. For example, if you don't want to use my .vimrc
anymore, run:
make uninstall package=vim
This will only remove the files that Stow owns, while keeping your other files intact.