8000 GitHub - teoljungberg/dotfiles: $HOME is wherever I'm with you
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

teoljungberg/dotfiles

Repository files navigation

teoljungberg/dotfiles

rcm(1)

% cat ~/.rcrc
DOTFILES_DIRS="$HOME/src/github.com/teoljungberg/dotfiles"
EXCLUDES="*.md cron/* result rcrc"
HOSTNAME="A_HOST"

Darwin

  1. Install nix
  2. Add nix channels
% home-manager switch -f $(pwd)/host-A_HOST/config/home-manager/home.nix

NixOS

  1. cp /etc/nixos/configuration.nix{,.bak}
  2. Modify /etc/nixos/configuration.nix to your hearts content. Reboot server.
  3. ln -sf $(pwd)/host-A_HOST/nixpkgs/nixos-configuration.nix /etc/nixos/configuration.nix
  4. Add nix channels

Nix Channels

% nix-channel --list
home-manager https://github.com/nix-community/home-manager/archive/NIXPKGS_RELEASE.tar.gz
nixpkgs https://nixos.org/channels/nixos-NIXPKGS_RELEASE

If on Darwin:

% nix-channel --list
home-manager https://github.com/nix-community/home-manager/archive/release-NIXPKGS_RELEASE.tar.gz
nixpkgs https://nixos.org/channels/nixpkgs-NIXPKGS_RELEASE-darwin

Cron

LANG="en_US.UTF-8"
PATH=$HOME/.nix-profile/bin:/usr/bin:/bin

30 9 * * *	$HOME/src/github.com/teoljungberg/dotfiles/bin/update-vim-plugins

About

$HOME is wherever I'm with you

Resources

Stars

Watchers

Forks

0