Skip to content

LichHunter/nixos-dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

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.

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
  • Alacritty
  • Browsers There are some options that can be enabled using `dov.browser.{browserName} = true;` Available options:
    1. Firefox
    2. Qutebrowser
    3. Chrome
    4. Brave
    5. Vivaldi
  • Filemanager I use ranger for terminal and thunar for GUI option

Installation

  1. 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
        
  2. 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
        
  3. Clone this repo
    git clone https://github.com/LichHunter/nixos-dotfiles
        
  4. 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
        
  5. Mount main partition
    sudo mount /dev/nvme0n1 /mnt
        
  6. Mount boot partition
    mkdir -p /mnt/boot
    mount -o umask=077 /dev/disk/by-label/boot /mnt/boot
        
  7. Generate nixos configurations
    sudo nixos-generate-config --root /mnt
        
  8. Copy cloned config to ‘/mnt/etc/nixos’
    sudo cp -r * /mnt/etc/nixos
        
  9. Install nixos
    nixos-install --flake /mnt/etc/nixos#laptop
        

Post install

After you installed os you can install install:

Doom emacs

git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install

Afterword

There is also wiki.org file that contains some commands that can be used

  • add user password for laptop config

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published