Kieran's opinionated (and probably slightly dumb) nix config
Nix 83.4%
Other 16.6%
137 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#

spotify with cava next to it

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/.*
  7. Setup the fingerprint reader with sudo fprintd-enroll -f right-index-finger kierank and then verify it worked with sudo fprintd-verify kierank (you may need to swipe your finger across the fingerprint sensor instead of simply laying it there)

Screenshots#

I've stuck the rest of the screenshots in a spoiler to preserve space

the github page of this repo nautilus file manager neofetch

Credits#

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