System
- clone this repo into
/etc/nixos
mkdir -p /etc/nixos/secrets/
echo \"$(mkpasswd -m sha-512)\" > /etc/nixos/secrets/hashedPassword.nix
export NIXOS_CONFIG=/etc/nixos/hosts/$HOST/default.nix
nixos-rebuild switch
chown -R maxim /etc/nixos
chown -R root secrets/
chmod -R 400 secrets/
User
ln -s /etc/nixos/home/ $HOME/.config/nixpkgs # I wish I knew a better way here
home-manager switch
Thanks so much to