Skip to content

justuswilhelm/pufferfish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pufferfish

pufferfish

Pufferfish gives you useful defaults and configuration files for the following programs:

  • Nix,
  • NixOS,
  • macOS,
  • tmux,
  • neovim,
  • fish,
  • neomutt,
  • vdirsyncer,
  • radicale,
  • borgmatic,
  • and many more.

You can install and use Pufferfish on macOS and NixOS. Pufferfish also works on Debian, but additional installation steps may be necessary.

Use Pufferfish on macOS

Here's how you can install nix-darwin and Pufferfish from scratch.

  1. Install nix on macOS using the official installer.
  2. Clone this repository into your home directory at `$HOME/.dotfiles".
  3. Add your machine to the flake.nix file in the repository root.
  4. Run darwin-rebuild on the Nix flake contained in this repository. Read more about darwin-rebuild here.

Here's how you can clone this repository into the right directory:

git clone git@github.com:justuswilhelm/pufferfish.git "$HOME/.dotfiles"

When you've cloned the repository, run the following to install Pufferfish with darwin-rebuild:

sudo nix run nix-darwin/master#darwin-rebuild -- switch --flake "$HOME/.dotfiles"

How to add your machine to the flake file

TODO

How to rebuild Pufferfish

In a fish shell, run the following function:

rebuild

Use Pufferfish on NixOS

TODO

Use Pufferfish on Debian

You need to install the following programs to use Pufferfish on Debian:

Furthermore, make sure that you've installed the following programs using apt:

  • sway
  • swaylock
  • swayidle

Pufferfish installs all other dependencies using home-manager.

Here's how to install Pufferfish from scratch:

git clone git@github.com:justuswilhelm/pufferfish.git "$HOME/.dotfiles"
home-manager --extra-experimental-features flakes --extra-experimental-features nix-command switch --flake $HOME/.dotfiles

Here's how to rebuild Pufferfish:

# In fish run the following function
rebuild

Formatting the code

There is a nix flake in the root directory that installs the prettier command. Inside a nix develop shell run the following:

prettier --check .

If you want to format everything, try the following command:

prettier --write .

How to report a bug

You can file an issue here

How to contribute code

I am happy about accepting new contributions into this repository. You can file a pull request right here.

The best way to get started is by forking this repository and developing a new feature or bug fix on your own repository. Then, you can create a pull request to contribute the code back.

Credits

  • Iosevka (fonts/): SIL Open Font License v1.1, refer to fonts/LICENSE.md
  • 24-bit-color (bin/24-bit-color): GPL v2, https://github.com/gnachman/iTerm2/blob/master/LICENSE
  • neovim selenized colors (nvim/colors/selenized.vim): MIT License, see nvim/colors/LICENSE.txt
  • iterm2 & alacritty selenized colors (selenized/terminals/iterm): MIT License, see selenized/LICENSE.txt

Packages

No packages published

Contributors 3

  •  
  •  
  •