add users

This commit is contained in:
UGA Innovation Factory
2025-12-16 17:49:23 -05:00
parent 4491f78268
commit c47ab8fe29
2 changed files with 31 additions and 5 deletions

View File

@@ -73,14 +73,40 @@ This module:
4. Commit and push changes
5. Update inventory.nix with new commit hash
## Important Notes
### Avoiding Configuration Conflicts
External modules should generally **not** override settings that are already defined by the host type modules (like `nix-lxc`). The host type already configures:
- SSH settings
- Basic services
- Networking
Your external module should focus on:
- Application-specific packages
- Custom services unique to your application
- Application configuration files
If you need to override host type settings, use `lib.mkForce`:
```nix
services.openssh.settings.PermitRootLogin = lib.mkForce "no";
```
## Deployment
After updating the configuration:
```bash
cd /path/to/nixos-systems
# Update the rev in inventory.nix
nix flake lock --update-input usda-dash-config # If using flake input
# Or just update the rev in the fetchGit call
# Update the rev in inventory.nix to the new commit hash
# Nix will automatically fetch the new version
nix flake check # Verify the configuration
./deploy usda-dash
```
To force Nix to re-fetch (if you've updated the same commit):
```bash
rm -rf ~/.cache/nix/gitv3/*
nix flake check --refresh
```