Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sergioribera/dotfiles

My NixOs dotfiles
https://github.com/sergioribera/dotfiles

dotfiles nixos nixos-config nixos-configuration nixos-dotfiles

Last synced: 3 months ago
JSON representation

My NixOs dotfiles

Awesome Lists containing this project

README

        

## Linux NixDots files
My personal dotfiles for a NixOS

> Wayland (Hyprland)

## Installation
To install it see the next steps:

> [!IMPORTANT]
> List of hosts:
> - laptop: settings for personal laptop with 2 monitors
>
> List of users:
> - s4rch: Personal user with graphical interface and ready-to-use environment

- Boot into the installer environment
- Format and mount your disks inside /mnt
- Run:
```sh
# 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 --depth 1 https://github.com/SergioRibera/Dotfiles /mnt/etc/nixos

# remove this file
# replace by host you want install
rm /mnt/etc/nixos/hosts//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/

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

# to install the xorg version:
# replace by host you want install
nixos-install --flake '.#'
```

- Reboot, login as root, and change the password for your user using `passwd`
- Log-in in the displayManager.
- Then do this:
```sh
sudo chown -R $USER /etc/nixos
```

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

- [Lemin-n](https://github.com/Lemin-n/dotfiles)
- [L I N U X](https://github.com/linuxmobile/kaku)
- [nmasur](https://github.com/nmasur/dotfiles)
- [badele](https://github.com/badele/nix-homelab)