Skip to content

jsravn/dotfiles-nixos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Obsolete!

I've declared technical bankruptcy on my NixOS configuration and gone back to a more practical desktop distro.

dotfiles

My dotfiles. It is primarily a NixOS configuration for setting up an entire machine from scratch. In addition it also manages an OS X system with Nix installed.

NixOS

Installing

From the NixOS install image use parted or similar to create the destination partition and filesystem. Then mount the root to /mnt and the ESP partition to /mnt/boot (for UEFI systems).

sudo -i
nix-env -iA nixos.git nixos.gnumake
git clone https://github.com/jsravn/dotfiles.git /mnt/etc/dotfiles
cd /mnt/etc/dotfiles
HOST=myhost make install

After rebooting, use make move-dotfiles to move the config into $HOME/.dotfiles.

Post-install

A few manual steps are required to finish setting up a fresh system:

# load secure dotfiles
chezmoi apply
# add ssh key to gpg-agent
ssh-add
# import pgp key
keybase-gui
keybase pgp export -s | gpg --allow-secret-key-import --import
# setup emacs
git clone [email protected]:jsravn/emacs-config ~/.config/doom
git clone https://github.com/hlissner/doom-emacs ~/.config/emacs; doom up
# setup vim
git clone https://github.com/hlissner/.vim ~/.vim; cd ~/.vim; make install

Credit

While I built this NixOS configuration for my own needs, many things were borrowed/inspired from https://github.com/hlissner/dotfiles/ as a starting point.

About

my nixos configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published