···11+I mainly keep this readme for myself, but if you're trying to adopt my dotfiles and stuck somewhere, contact me! You should be able to find my details on <https://strawmelonjuice.com/me/links>.
22+13### 1. Clone the repo
2435Cloning the `nix` branch using `jj` from my Tangled knot:
···1618jj git clone https://github.com/D3Ext/aesthetic-wallpapers.git ~/.local/share/wallpapers/aesthetic-wallpapers
1719```
18201919-2. Initialize a new Host if this is a brand new device:
2121+### 2. Initialize a new Host (optional, if this is a brand new device)
2222+2023```bash
2124mkdir -p hosts/$(hostname) # Create the folder
2225cp /etc/nixos/*.nix ./hosts/$(hostname)/ # Copy installer configs
2323-nano ./flake.nix # Include the new defineSystem-entry in the nixosConfigurations block.
2626+nano ./flake.nix # Include the new defineSystem/defineHome-entry in the nixosConfigurations block.
2427nano ./hosts/$(hostname)/configuration.nix # You may want to tweak this, or maybe import `../all-hosts.nix`!
2528echo "{}" > ./home/host-specific/$(hostname).nix # For home-manager per-machine config
2629```
3030+2731Otherwise make sure the hostname matches the one before and continue to 3!
28322929-3. Deploy
3333+If it is a new device, but not running NixOS, you'll have to only create the `defineHome` and home-manager-per-machine config.
3434+3535+### 3. Deploy
3636+3737+#### For NixOS
3038```Bash
3139jj # Capture new files so the flake can see them
3240sudo nixos-rebuild switch --flake .#$(hostname) # Apply based on current hostname
···3644doas git config --global --add safe.directory /home/mar/.dotfiles # Safelist dotfiles for root, so doas can be used to rebuild!
3745```
38464747+4848+#### For Home Manager Standalone (Non-NixOS or User-only)
4949+```Bash
5050+jj # Capture new files
5151+nix run home-manager -- switch --flake .#$(hostname)
5252+```
5353+5454+5555+3956## Structure
40574158| Directory | For |
···4461| `home/*` | Shared user environment and config |
4562| `configs/*` | Configuration files symlinked into their programs for when configuration is too advanced for `home/` |
4663| `fonts/*` | Fonts, imported by `home/modules/fonts.nix` |
4747-| `libs` | Bad habits. Libraries unavailable on nixpkgs and I was apparently too lazy to make an input out of them. |
48644965## Hosts currently known
5066···5369| [Fennekin](https://pokemondb.net/pokedex/fennekin) | Convertible laptop (fire) | My take-with-me and drawing laptop, has a nice stylus tew | Touchscreen, convertible, wifi adaptor is busted, so there's an external one. |
5470| [Ponyta](https://pokemondb.net/pokedex/ponyta) | Laptop (fire) | My most beefiest laptop eva! And I use it mainly as my school laptop. | Has a good graphics card. Bigger screen. |
5571| [Samurott](https://pokemondb.net/pokedex/samurott) | Desktop PC (water) | - | Ultrawide screen, dual boots windows for games. |
7272+| [Cubchoo](https://pokemondb.net/pokedex/cubchoo) | Server (ice) | Also known as `marpi5-1` or `strawmelonservices`! | Lives in a hamster cage |
5673| [frigometri (german version of Cryogonal, symbolising server location)](https://pokemondb.net/pokedex/cryogonal) | Server (ice) | Cool server from friend I can use |
5757-