Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simontheleg/dotfiles
https://github.com/simontheleg/dotfiles
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/simontheleg/dotfiles
- Owner: SimonTheLeg
- Created: 2019-06-24T15:20:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-31T10:18:34.000Z (over 1 year ago)
- Last Synced: 2024-10-16T07:10:10.690Z (3 months ago)
- Language: Vim Script
- Size: 1.94 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Collection of dotfiles and other settings
## One time setup
1. Install nix. Note for future Simon: With nix 2.4 this feature will be moved upstream
```sh
sh <(curl https://abathur-nix-install-tests.cachix.org/serve/yihf8zbs0jwph2rs9qfh80dnilijxdi2/install) --tarball-url-prefix https://abathur-nix-install-tests.cachix.org/serve
```## For each user on the system one time
1. Clone the repository into `~/simontheleg/`
```sh
git clone [email protected]:SimonTheLeg/dotfiles.git ~/simontheleg/dotfiles
```2. Add a channel as nixpkgs. This is mainly to make home-manager happy. It does not server any further purpose, as all channels used are pinned in `home.nix`:
```sh
nix-channel --add https://channels.nixos.org/nixos-21.11 nixpkgs
nix-channel --update
```3. Symlink home manager config and [Install Home Manager](https://github.com/nix-community/home-manager#installation)
```sh
mkdir -p ${HOME}/.config/nixpkgs/
ln -s -f ~/simontheleg/dotfiles/home.nix ${HOME}/.config/nixpkgs/home.nix
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH
nix-shell '' -A install
```4. Start home-manager environment generation
```sh
home-manager switch
```