This repository consists of my personal NixOS configuration files. This is a flake repository. You know what to do!
To use the configuration of nvim at modules/nvimcat
run this in a nix enabled system:
nix run github:rayslash/nixos-config#nvimcat
To build the ISO image corresponding to iso
host use:
nix build .#nixosConfigurations.live.config.system.build.isoImage
NOTE: Replace
<host>
with accurate hostname.
Clean Install: Partition and mount root, nix, boot and home using fdisk
and mount
.
sudo fdisk /dev/sdX #Recommended /, /boot and /nix partitions. Optionally, /home
sudo mount /dev/sdXX #Mount all filesystems to /mnt
git clone https://github.com/RaySlash/nixos-config && cd nixos-config
rm systems/<host>/hardware-configuration.nix
sudo nixos-generate-config --root /mnt
sudo cp /etc/nixos/hardware-configuration.nix nixos/<host>/
sudo nixos-install --flake .#<host>