Skip to content

AlphaTechnolog/nixdots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixdots

My personal dotfiles for a Nix-Managed Operative System (NixOS).

Maybe some things may not work as how should, or look different from the screenshots

since this dots are intended to be for my personal use and not stable :|

if you want stable dotfiles and others design ideas, check my official dotfiles

X11 (AwesomeWM)

x11

Wayland (Hyprland)

wayland

Installation

To install it see the next steps:

  • Boot into the installer environment
  • Format and mount your disks inside /mnt
  • execute this
# go into a root shell
sudo su

# go inside a shell with properly required programs
nix-shell -p git nixUnstable

# create this folder if necessary
mkdir -p /mnt/etc/

# clone the repo
git clone https://github.com/AlphaTechnolog/nixdots.git /mnt/etc/nixos --recurse-submodules

# remove this file
rm /mnt/etc/nixos/hosts/ultra/hardware-configuration.nix

# generate the config and take some files
nixos-generate-config --root /mnt
rm /mnt/etc/nixos/configuration.nix
mv /mnt/etc/nixos/hardware-configuration.nix /mnt/etc/nixos/hosts/ultra

# make sure you're in this path
cd /mnt/etc/nixos

# to install the xorg version:
nixos-install --flake '.#ultra' --impure

# to install the wayland version
nixos-install --flake '.#fancy' --impure

You could get some hashes errors, just change the bad hashes in the config file to the given ones by the Nix Output.

  • Reboot, login as root, and change the password for your user using passwd (by default, it's alpha)
  • Log-in in the displayManager.
  • Then do this:
doas chown -R $USER /etc/nixos

Enjoy

Now, you're done, remember that this is in work in progress so, some things could stop working...

Thanks to

This good people who helped me when learning nix-related stuff! really, thanks!

Inspiration

  • nvim: dharmx. What a beautiful nvim that he has!

How looks mine:

nvim