My beautiful, functional, focused nix flake with Hyprland and Sway, written completely in nix.
- Kernel: Linux-xanmod
- Shell: zsh configured with oh-my-posh, antidote and prezto
- Editor: SnowyVim, my custom Neovim configuration made with nixvim
- Window Manager: Hyprland
- Launcher: anyrun
- Bar: waybar
- gh-s, a Github extension for searching through Github repositories
- zaread, a script that can open different files like docx files in zathura
- bridge-core, a Minecraft add-on creator for Minecraft Bedrock Edition
- gh-download, a Github extension for downloading any file from a Github repo without cloning it
I use my own custom nixos iso to install NixOS on my systems, the flake is at SnowISO on sr.ht. It has plenty of useful tools and has sway as a desktop for graphical installs.
# Boot into the installer
# Connect to wifi, instructions on the wiki, link in the helpful links section.
# My installer has network manager installed so I use that instead of wpa utility
# Enter root shell
sudo -i
# Create you partitions, I personally use cfdisk, but you can use any tool e.g parted
cfdisk
# Format your partitions
mkfs.ext4 -L root /dev/root-partition # your partition name here
# It isn't necessary to separate home and root but I do it anyway
mkfs.ext4 -L home /dev/home-partition
# This may not be useful if you use zram but in my case I use both zram and swap partitions
# I'll work on using zram on it's own
# I primarily use swap partitions instead of swap files, set up one like this
mkswap -L swap /dev/swap-partition # replace with your partition
swapon /dev/by-label/swap
# Mount your partitions
mount /dev/by-label/root /mnt
mount --mkdir /dev/boot-partition /mnt/boot
mount --mkdir /dev/by-label/home /mnt/home
nixos-generate-config --root /mnt
# Edit the configuration
cd /mnt/etc/nixos
vi configuration.nix
# Check the partitions to make sure their mount points are correct
# Also check for swap if you're using a partition
vi hardware-configuration.nix
# Once you're done, install the system configuration
nixos-install
# Clone the github repo
git clone https://github.com/Daru-san/Snowflake-dots
# or the sourcehut repo, which is more up-to-date
git clone https://git.sr.ht/~darumaka/SnowyDots
# You should probably make your own system configurations for compatibility
# Feel free to edit any files in the repo to suit your needs, otherwise
cd Snowflake-dots/systems/AspireLaptop
# Copy your partitions to the hardware-configuration.nix file
vi hardware-configuration.nix
# Build the system configuration
sudo nixos-rebuild switch --flake .#system e.g .#AspireLaptop
# Then build the home configuration
# If you haven't installed it yet
nix-shell -p home-manager
# Then switch the config
home-manager switch --flake .#daru@AspireLaptop
- fufexan/dotfiles
- misterio's dotfiles
- Misterio77's nix-starter-configs
- Plenty of others that I cannot remember