No description
.config | ||
.github | ||
.Slic3r | ||
nixos | ||
tools | ||
.build.yml | ||
.gdbinit | ||
.ghci | ||
.gitattributes | ||
.gitconfig.cygwin | ||
.gitconfig.linux | ||
.gitconfig.linux.form3 | ||
.gitconfig.linux.private | ||
.gitconfig.mac | ||
.gitconfig.windows | ||
.gitconfig_includes.common | ||
.gitconfig_includes.cygwin | ||
.gitconfig_includes.mac | ||
.gitconfig_includes.windows | ||
.gitignore | ||
.gitmodules | ||
.vimrc | ||
.vimrc.keymap | ||
.vimrc.nixos | ||
.vimrc.plugins-settings | ||
.vimrc.settings | ||
LICENSE | ||
README.md |
My dotfiles - including my vim, terminal and font configs. Mostly focusing on setting things up on NixOS, but supporting other OSes where possible.
bootstrap new machine with NixOS:
- boot the target machine from the livecd
- change password for the default user
nixos
- ssh from another, already bootstrapped, machine
sudo su -
yes | parted /dev/sda -- mklabel gpt
- LUKS !
parted /dev/sda -- mkpart ESP fat32 1MiB 1GiB
parted /dev/sda -- set 1 esp on
parted /dev/sda -- mkpart primary btrfs 1GiB -8193MiB
- http://opensource.hqcodeshop.com/Parted%20calculator/parted_mkpart_calc.sh
parted /dev/sda -- mkpart primary linux-swap XXX 100%
mkfs.fat -F 32 -n boot /dev/sda1
mkfs.btrfs -L nixos /dev/sda2
mkswap -L swap /dev/sda3
mount /dev/disk/by-label/nixos /mnt
mkdir -p /mnt/boot
mount /dev/disk/by-label/boot /mnt/boot
swapon /dev/sda3
nixos-generate-config --root /mnt
vim /mnt/etc/nixos/configuration.nix
guix
I'm just starting to play with guix, these are just loose notes: