Kieran's opinionated (and probably slightly dumb) nix config
Nix 79.9%
SCSS 6.0%
Other 14.1%
79 2 0

Clone this repository

https://tangled.org/dunkirk.sh/dots
git@knot.dunkirk.sh:dunkirk.sh/dots

For self-hosted knots, clone URLs may differ based on your setup.

README.md

Kieran's Dots#

CAUTION

These dots are highly prone to change / breakage. I am not a nix os expert (this is my first time touching nix), so I'm not sure if this will work or not. I'm just trying to get my dots up on github. If you have any suggestions, please let me know.

Installation#

I have absolutely no idea I kinda understand now?

  1. Install NixOS via the official guide
  2. sudo -i
  3. Enable git with sed -i 's/^{$/{\n programs.git.enable = true;/' /etc/nixos/configuration.nix and then run nixos-rebuild switch
  4. Download the disk config with curl https://github.com/kcoderhtml/dots/raw/master/moonlark/disk-config.nix -o /tmp/disk-config.nix
  5. Run disko with nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko /tmp/disk-config.nix
  6. Mount disk with mount | grep /mnt and then cd /mnt/etc/nixos
  7. Clone this repo to your /mnt/etc/nixos folder with git clone https://github.com/kcoderhtml/dots.git .
  8. Add your ssh private key to /mtn/etc/ssh/id_rsa
  9. install the flake: nixos-install --flake .#moonlark --no-root-passwd
  10. Once it finishes run nix install and then reboot
nixos-install
reboot
  1. Pray to the nix gods that it works 🙏
  2. If it worked then you should be able to login with the user kierank and the password lolzthisaintsecure!
  3. Change the password with passwd kierank
  4. Move the config to your local directory with mkdir ~/etc; sudo mv /etc/nixos ~/etc
  5. Link the config back to /etc/nixos with sudo ln -s ~/etc/nixos /etc
  6. Change the config permissions: sudo chown -R $(id -un):users ~/etc/nixos, sudo chown kierank -R ~/etc/nixos, and sudo chown kierank -R ~/etc/nixos/.*

Screenshots#

🫡 Will report back!

Credits#

Thanks a bunch to the following people for their dots, configs, and general inspiration which i've shamelessly stolen from: