fix: remove geir user from sleeper-service (server-only configuration)
Some checks are pending
🏠 Home Lab CI/CD Pipeline / 🔍 Validate Configuration (push) Waiting to run
🏠 Home Lab CI/CD Pipeline / 🔨 Build Configurations (push) Blocked by required conditions
🏠 Home Lab CI/CD Pipeline / 🔒 Security Audit (push) Blocked by required conditions
🏠 Home Lab CI/CD Pipeline / 📚 Documentation & Modules (push) Blocked by required conditions
🏠 Home Lab CI/CD Pipeline / 🔄 Update Dependencies (push) Waiting to run
🏠 Home Lab CI/CD Pipeline / 🚀 Deploy Configuration (push) Blocked by required conditions
🏠 Home Lab CI/CD Pipeline / 📢 Notify Results (push) Blocked by required conditions
Some checks are pending
🏠 Home Lab CI/CD Pipeline / 🔍 Validate Configuration (push) Waiting to run
🏠 Home Lab CI/CD Pipeline / 🔨 Build Configurations (push) Blocked by required conditions
🏠 Home Lab CI/CD Pipeline / 🔒 Security Audit (push) Blocked by required conditions
🏠 Home Lab CI/CD Pipeline / 📚 Documentation & Modules (push) Blocked by required conditions
🏠 Home Lab CI/CD Pipeline / 🔄 Update Dependencies (push) Waiting to run
🏠 Home Lab CI/CD Pipeline / 🚀 Deploy Configuration (push) Blocked by required conditions
🏠 Home Lab CI/CD Pipeline / 📢 Notify Results (push) Blocked by required conditions
- Remove geir user module from sleeper-service configuration - Servers should only use sma user to avoid pulling desktop packages - Update instruction.md with user configuration strategy: - Desktop machines: geir user (includes desktop packages) - Server machines: sma user ONLY (minimal server config) - This prevents servers from importing browsers and GUI applications This change reduces server footprint and follows separation of concerns between desktop workstations and headless servers.
This commit is contained in:
parent
88638827c3
commit
715911cc62
2 changed files with 8 additions and 2 deletions
|
@ -31,6 +31,13 @@ More like an open source project, more like a hobby/passion project
|
|||
- Use context7 to resolve NixOS option names, module configurations, and best practices
|
||||
- Context7 provides authoritative NixOS documentation that's more reliable than general knowledge
|
||||
|
||||
## User Configuration Strategy
|
||||
- **Desktop machines**: Use `geir` user (includes desktop packages, development tools)
|
||||
- **Server machines**: Use `sma` user ONLY (minimal server-focused configuration)
|
||||
- **Reason**: The `geir` user module includes heavy desktop packages (browsers, GUI apps) which are inappropriate for servers
|
||||
- **Server examples**: sleeper-service, reverse-proxy, grey-area should only import `sma` user module
|
||||
- **Desktop examples**: congenital-optimist can use both `geir` and `sma` users
|
||||
|
||||
# AI Agent Instructions: NixOS Flakes Migration for CongenitalOptimist
|
||||
## Overview
|
||||
This part of the document provides step-by-step instructions for AI agents to help migrate the CongenitalOptimist machine from traditional NixOS configuration to flakes-based configuration and upgrade to NixOS 25.05. The system already has excellent modular structure that we'll preserve and enhance.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue