1
2
Fork
You've already forked dotfiles
0
somepony likes to share their dotfiles
  • Nix 88.3%
  • Shell 9.3%
  • Python 2.4%
2026年05月24日 12:15:54 +09:00
bin feat(vim)!: remove 2024年03月03日 19:56:55 +09:00
config/Dash.dashsync feat(dash): update IntelASMx86 and Intel_Intrinsics 2023年04月23日 18:22:15 +09:00
fish Add /nix/var/nix/profiles/per-user/root/channels to $NIX_PATH 2021年10月22日 22:25:50 +09:00
local-example doc: Home Manager 22.11 requires specifying home.{stateVersion,username,homeDirectory} 2022年09月07日 00:55:45 +09:00
modules feat(gui/packages): add file-roller 2026年05月24日 12:15:54 +09:00
pkgs fix(helix)!: remove helix-22.03/default.nix 2026年03月29日 11:50:42 +09:00
private-example style: nixfmt 2024年03月03日 18:54:42 +09:00
scripts style: nixfmt 2024年03月03日 18:54:42 +09:00
.editorconfig Add EditorConfig 2019年12月06日 17:00:12 +09:00
.gitignore Ignore .DS_Store 2021年03月15日 16:43:05 +09:00
config.nix style: nixfmt 2024年03月03日 18:54:42 +09:00
home.nix refactor(difftastic): migrate option names 2026年04月03日 01:33:50 +09:00
LICENSE doc: license under CC0 2022年12月21日 22:31:30 +09:00
README.md doc: update the installation steps 2023年06月04日 14:19:41 +09:00

yvt does dotfiles

First, install Nix if not installed yet:

curl https://nixos.org/nix/install | sh

(See this comment for how to install Nix on macOS Catalina.)

Secondly, install Home Manager by following the instructions on the website.

And finally do the following:

git clone https://codeberg.org/yvt/dotfiles.git .dotfiles
cd .dotfiles
ln -s `pwd` ~/.config/home-manager
nix-shell '<home-manager>' -A install

Private directory

Depending on a threat model, religious belief, and suchlike, you might prefer to keep some stuff out of the public eye, such as local network addresses and private server addresses. To accommodate such needs, this dotfiles automatically imports .dotfiles/private/home.nix if the file is present. Clone your own private dotfiles respository in private. private-example shows an example.

Local directory

Place host-local configuration files in local. See local-example for an example.

It's recommended to define home.{stateVersion,username,homeDirectory} (required starting from Home Manager release 22.11) in local/home.nix.