Bohdan's terminal configuration

nix: added docs on how to use flake

Changed files
+33 -4
nixos
+9 -4
README.md
··· 1 1 # bpavuk's Dotfiles! 2 2 3 - To install these dotfiles, clone this repository (preferably into 4 - `~/.dotfiles`), install GNU Stow, then type `stow <program-name>`. For Neovim, 5 - that would be `stow nvim`. Make sure to read relevant READMEs inside every 6 - dotfile directory to get a list of dependencies you need to install to make 3 + This repository serves as a home for my configuration files. It can be 4 + installed as a Nix flake (NixOS Unstable) or using Stow. 5 + 6 + To install these dotfiles using Stow, clone this repository (preferably 7 + into `~/.dotfiles`), install GNU Stow, then type `stow <program-name>`. 8 + For Neovim, that would be `stow nvim`. Make sure to read relevant READMEs inside 9 + every dotfile directory to get a list of dependencies you need to install to make 7 10 this work! 8 11 12 + With Nix, it is much simpler, but my settings may get superimposed on your 13 + current ones. More details in [NixOS folder README](./nixos/README.md).
+24
nixos/README.md
··· 1 + # NixOS Configuration 2 + 3 + This is my personal NixOS configuration, managed with Flakes and Home Manager. 4 + 5 + ## Prerequisites 6 + 7 + - A running NixOS system with Flakes enabled. 8 + - This repository cloned onto the machine. 9 + 10 + ## Installation 11 + 12 + 1. Navigate to this directory (`/path/to/bpavuk.term`). 13 + 2. Replace the `./hosts/bpavuk-nixos/hardware-configuration.nix` file with your generated one, OR create your own host by modifying `flake.nix` and adding your host-specific configuration to the `hosts` folder. 14 + 3. Run the rebuild command, pointing it to the correct host configuration within the flake. 15 + 16 + ```sh 17 + sudo nixos-rebuild switch --flake .#bpavuk-nixos 18 + ``` 19 + 20 + ## Structure 21 + 22 + - `hosts/`: System-level configurations. Each subdirectory corresponds to a different machine. 23 + - `users/`: User-level configurations, managed via `home-manager`. 24 + - `home/`: Modular components for the user configurations (e.g., `development`, `life`, `fonts`).