Hi there! How did you find this repo? You either me and want to install belowed NixOS on new system or you are very lost and need to get back to normal Linux distribuions as fast as possible while you can, don’t try to help, leave me here, now I can’t return to normal people, it is too late. If you are still here then lets discuss my setup.
Currently I’m using nixos-unstable with flake based configuration. As my primary maching is laptop - all links will be pointing to it. I try to keep vm configs up to date, but as it is not used I rarely actually do it.
Installed packages
- Hyprland Is Wayland dynamic tiling compositor
- Stylix
Used to customize theming across system
- nixos configs - search for stylix
- home-manager - seach for stylix
- Alacritty
- Browsers
There are some options that can be enabled using `dov.browser.{browserName} = true;`
Available options:
- Firefox
- Qutebrowser
- Chrome
- Brave
- Vivaldi
- Filemanager I use ranger for terminal and thunar for GUI option
- Create installation flashdrive with latest iso using this command
sudo dd bs=4M conv=fsync oflag=direct status=progress if=<path-to-image> of=/dev/sdX
- Create installation flashdrive with latest iso using this command
sudo dd bs=4M conv=fsync oflag=direct status=progress if=<path-to-image> of=/dev/sdX
- Clone this repo
git clone https://github.com/LichHunter/nixos-dotfiles
- Format disk
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount ~/nixos-dotfiles/machines/laptop/disko-configuration.nix
- Mount main partition
sudo mount /dev/nvme0n1 /mnt
- Mount boot partition
mkdir -p /mnt/boot mount -o umask=077 /dev/disk/by-label/boot /mnt/boot
- Generate nixos configurations
sudo nixos-generate-config --root /mnt
- Copy cloned config to ‘/mnt/etc/nixos’
sudo cp -r * /mnt/etc/nixos
- Install nixos
nixos-install --flake /mnt/etc/nixos#laptop
After you installed os you can install install:
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install
There is also wiki.org file that contains some commands that can be used
- add user password for laptop config