Skip to content

janbuecker/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

This repository contains my workstation configuration and can be restored using the setup below.

1. Install nix + home-manager

sh <(curl -L https://nixos.org/nix/install)

nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --add https://nixos.org/channels/nixos-unstable unstable
nix-channel --update

# if not on NixOS
export NIX_PATH=$HOME/.nix-defexpr/channels:/nix/var/nix/profiles/per-user/root/channels${NIX_PATH:+:$NIX_PATH}

nix-shell '<home-manager>' -A install

2. Clone this repository to .config/home-manager/

rm -rf .config/home-manager/
git clone https://github.com/janbuecker/dotfiles.git .config/home-manager/

3. Switch first generation

Run home-manager for the first time with this configuration

home-manager switch

4. Decrypt secrets

The de/encryption requires the unlock key.

# 1password
op document get gitcrypt --force | git-crypt unlock -

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published