Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/belak/dotfiles
My personal environment configuration
https://github.com/belak/dotfiles
dotfiles emacs vimrc zshrc
Last synced: 11 days ago
JSON representation
My personal environment configuration
- Host: GitHub
- URL: https://github.com/belak/dotfiles
- Owner: belak
- Created: 2015-06-18T03:59:24.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T20:44:49.000Z (6 months ago)
- Last Synced: 2024-05-21T21:47:18.823Z (6 months ago)
- Topics: dotfiles, emacs, vimrc, zshrc
- Language: Vim Script
- Homepage:
- Size: 2.43 MB
- Stars: 27
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# belak's dotfiles
## Nix
For setup, run the following:
``` shell
# NixOS setup
sudo ln -sf ~/.dotfiles/nix/flake.nix /etc/nixos/flake.nix
sudo nixos-rebuild switch --flake ~/.dotfiles# nix-darwin setup
nix run nix-darwin -- switch --flake ~/.dotfiles# home-manager setup
nix run github:nix-community/home-manager -- switch --flake ~/.dotfiles
```### Concepts
Hosts are configured with a user-level nix target (`home-manager`) and often a
host-level nix target (`nix-darwin`, `nixos`, etc).In general, packages should be installed at the user-level unless they need to
be installed at a system level to work properly. This includes things like
system daemons, programs needed to set up the system, and shells.### Work Computers
Note that the Nix flake in this repo is also used as a dependency in a private
work flake. This allows me to keep most common configuration here, in modules,
and have any work-specific config in a private repo.