My NixOs dotfiles
https://github.com/SergioRibera/dotfiles.git
My personal dotfiles for a NixOS
Wayland (Hyprland)
To install it see the next steps:
[!IMPORTANT]
List of hosts:
> - laptop: settings for personal laptop with 1 monitors
- race4k: settings for dektop with 4 monitors and Nvidia
> List of users:
> - s4rch: Personal user with graphical interface and ready-to-use environment
# go into a root shell
su -i
# go inside a shell with properly required programs
nix-shell -p git
# create this folder if necessary
mkdir -p /mnt/etc/
# clone the repo
git clone --depth 1 https://github.com/SergioRibera/Dotfiles /mnt/etc/nixos
# remove this file
# replace <host> by host you want install
rm /mnt/etc/nixos/hosts/<host>/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/<host>
# make sure you're in this path
cd /mnt/etc/nixos
# replace <host> by host you want install
nixos-install --flake '.#<host>'
passwdsudo chown -R $USER /etc/nixos
This good people who helped me when learning nix-related stuff! really, thanks!