Files
dotfiles/README.md
T

97 lines
5.9 KiB
Markdown
Raw Normal View History

2023-02-20 20:26:14 -05:00
# System Configurations
2022-07-20 11:50:04 -04:00
This repository contains configuration files for my NixOS, macOS, and WSL
hosts.
2022-09-23 14:35:14 -04:00
They are organized and managed by [Nix](https://nixos.org), so some of the
configuration may be difficult to translate to a non-Nix system.
2023-03-08 18:19:51 -05:00
## System Features
2022-09-23 14:35:14 -04:00
2025-03-23 18:41:32 -04:00
| Feature | Program | Configuration |
|----------------|-----------------------------------------------------|-----------------------------------------------------------------------------------|
| OS | [NixOS](https://nixos.org) | [Link](./platforms/nixos) |
| Display Server | [X11](https://www.x.org/wiki/) | [Link](./platforms/nixos/modules/nmasur/profiles/gui.nix) |
| Compositor | [Picom](https://github.com/yshui/picom) | [Link](./platforms/home-manager/modules/nmasur/presets/services/picom.nix) |
| Window Manager | [i3](https://i3wm.org/) | [Link](./platforms/home-manager/modules/nmasur/presets/services/i3.nix) |
| Panel | [Polybar](https://polybar.github.io/) | [Link](./platforms/home-manager/modules/nmasur/presets/services/polybar.nix) |
| Font | [Victor Mono](https://rubjo.github.io/victor-mono/) | [Link](./platforms/home-manager/modules/nmasur/presets/fonts.nix) |
| Launcher | [Rofi](https://github.com/davatorium/rofi) | [Link](./platforms/home-manager/modules/nmasur/presets/programs/rofi/default.nix) |
2022-09-23 14:35:14 -04:00
2023-03-08 18:19:51 -05:00
## User Features
2025-03-23 18:41:32 -04:00
| Feature | Program | Configuration |
|--------------|----------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| Dotfiles | [Home-Manager](https://github.com/nix-community/home-manager) | [Link](./platforms/home-manager) |
| Terminal | [Ghostty](https://sw.kovidgoyal.net/kitty/) | [Link](./platforms/home-manager/modules/nmasur/presets/programs/ghostty.nix) |
| Shell | [Fish](https://fishshell.com/) | [Link](./platforms/home-manager/modules/nmasur/presets/programs/fish.nix) |
| Shell Prompt | [Starship](https://starship.rs/) | [Link](./platforms/home-manager/modules/nmasur/presets/programs/starship.nix) |
| Colorscheme | [Gruvbox](https://github.com/morhetz/gruvbox) | [Link](./colorscheme/gruvbox/default.nix) |
| Wallpaper | [Road](https://gitlab.com/exorcist365/wallpapers/-/blob/master/gruvbox/road.jpg) | [Link](./hosts/x86_64-linux/tempest/default.nix) |
| Text Editor | [Neovim](https://neovim.io/) | [Link](./pkgs/applications/editors/neovim/nmasur/neovim/package.nix) |
| Browser | [Firefox](https://www.mozilla.org/en-US/firefox/new/) | [Link](./platforms/home-manager/modules/nmasur/presets/programs/firefox.nix) |
| E-Mail | [Aerc](https://aerc-mail.org/) | [Link](./platforms/home-manager/modules/nmasur/presets/programs/aerc.nix) |
| File Manager | [Nautilus](https://wiki.gnome.org/action/show/Apps/Files) | [Link](./platforms/home-manager/modules/nmasur/presets/programs/nautilus.nix) |
| PDF Reader | [Zathura](https://pwmt.org/projects/zathura/) | [Link](./platforms/home-manager/modules/nmasur/presets/programs/zathura.nix) |
| Video Player | [mpv](https://mpv.io/) | [Link](./platforms/home-manager/modules/nmasur/presets/programs/mpv.nix) |
2023-03-08 18:19:51 -05:00
## macOS Features
| Feature | Program | Configuration |
2024-06-06 17:08:40 -04:00
|----------|---------------------------------------------|--------------------------------------|
2025-03-23 18:41:32 -04:00
| Keybinds | [Hammerspoon](https://www.hammerspoon.org/) | [Link](./platforms/home-manager/modules/nmasur/presets/services/hammerspoon/) |
2023-03-08 18:19:51 -05:00
2024-01-07 19:05:13 -05:00
# Diagram
![Diagram](https://github.com/nmasur/dotfiles/assets/7386960/4cc22285-cea1-4831-b387-a82241184381)
2024-01-07 19:07:16 -05:00
2023-03-08 18:19:51 -05:00
---
2024-01-01 20:01:17 -05:00
# Unique Configurations
2024-01-14 23:05:06 -05:00
This repo contains a few more elaborate elements of configuration.
2024-01-01 20:01:17 -05:00
2025-03-23 18:41:32 -04:00
- [Neovim config](./pkgs/applications/editors/neovim/nmasur/neovim/package.nix)
generated with Nix2Vim and source-controlled plugins,
differing based on installed LSPs, for example. - [Caddy
JSON](./platforms/nixos/modules/nmasur/presets/services/caddy.nix) file (routes,
etc.) based dynamically on enabled services rendered with Nix. - [Grafana
config](./platforms/nixos/modules/nmasur/presets/services/grafana/grafana.nix)
rendered with Nix. - Custom [secrets
deployment](./platforms/nixos/modules/secrets.nix) similar to agenix. - Base16
[colorschemes](./colorscheme/) applied to multiple applications, including
Firefox userChrome.
2024-01-01 20:01:17 -05:00
---
2023-03-08 18:19:51 -05:00
# Installation
Click [here](./docs/installation.md) for detailed installation instructions.
# Neovim
Try out my Neovim config with nix:
2022-11-29 20:48:46 -07:00
```bash
nix run github:nmasur/dotfiles#neovim
```
2023-03-08 18:19:51 -05:00
Or build it as a package:
2022-11-29 20:48:46 -07:00
```bash
nix build github:nmasur/dotfiles#neovim
```
2022-12-06 17:40:13 -07:00
If you already have a Neovim configuration, you may need to move it out of
2023-02-20 20:26:14 -05:00
`~/.config/nvim` or set `XDG_CONFIG_HOME` to another value; otherwise both
2022-12-06 17:40:13 -07:00
configs might conflict with each other.
2022-07-27 17:13:41 -06:00
# Flake Templates
You can also use the [templates](./templates/) as flakes for starting new
projects:
2022-07-20 11:50:04 -04:00
```bash
nix flake init --template github:nmasur/dotfiles#poetry
```