Add host modules and home options; update README

This commit is contained in:
2025-11-24 01:38:45 +01:00
parent 196db56791
commit d951277cec
48 changed files with 982 additions and 404 deletions

View File

@@ -191,22 +191,35 @@ git add .
- `waybarChoice` - system top bar style.
- `animChoice` - system animation style.
### 5. Copy the ready `hardware-configuration.nix` to host folder:
### 5. Review module activation options
Open the module files for your host and adjust the `enable` options for the services you need:
```bash
# Homemodules (enable/disable home-scoped applications)
nano hosts/<your-system-hostname>/home-modules.nix
# Systemmodules (enable/disable systemwide services)
nano hosts/<your-system-hostname>/system-modules.nix
```
Set the options to `true` for the components you want active and `false` for those you dont need.
### 6. Copy the ready `hardware-configuration.nix` to host folder:
```bash
sudo cp /etc/nixos/hardware-configuration.nix hosts/<your-system-hostname>/hardware.nix
```
### 6. Enable `Flake` functionality in your system.
### 7. Enable `Flake` functionality in your system.
```bash
NIX_CONFIG="experimental-features = nix-command flakes"
```
### 7. Build system (provide your hostname)
### 8. Build system (provide your hostname)
```bash
sudo nixos-rebuild switch --flake .#your-system-hostname
```
### 8. After system rebuild you can use the following aliases instead of repeating the previous command
### 9. After system rebuild you can use the following aliases instead of repeating the previous command
- `pullos` - pull latest commits from my repository.
- `upd` - rebuild system.