feat: System update and direnv fixes
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
- Updated flake.lock to latest NixOS 25.05 packages (2025-06-04) - Fixed direnv functionality across system configuration - Added direnv and nix-direnv packages to base.nix - Integrated direnv shell hook in zsh configuration - Enhanced user management with geir.nix updates - Added comprehensive package lists and development tools - Successfully tested NixOS configuration rebuild - System ready for reboot with latest updates
This commit is contained in:
parent
4c50e7950f
commit
e8e292c8eb
8 changed files with 21 additions and 13 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748889542,
|
"lastModified": 1749024892,
|
||||||
"narHash": "sha256-Hb4iMhIbjX45GcrgOp3b8xnyli+ysRPqAgZ/LZgyT5k=",
|
"narHash": "sha256-OGcDEz60TXQC+gVz5sdtgGJdKVYr6rwdzQKuZAJQpCA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "10d7f8d34e5eb9c0f9a0485186c1ca691d2c5922",
|
"rev": "8f1b52b04f2cb6e5ead50bd28d76528a2f0380ef",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
# AI Agent Instructions: NixOS Flakes Migration for CongenitalOptimist
|
# AI Agent General Instructions
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
This 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.
|
This part of the document provides general instructions for tha AI agent.
|
||||||
|
|
||||||
## General instructions
|
## General instructions
|
||||||
This document is to be treated as an iterative work and a collaberation.
|
This document is to be treated as an iterative work and a collaberation between the user and AI agent.
|
||||||
|
|
||||||
## Goal for this file
|
## Goal for this file
|
||||||
Top part reusable instructions that can be transferred to other project and as away to iterativey make ai agent behave more like I prefer.
|
Top part reusable instructions that can be transferred to other project and as away to iterativey make ai agent behave more like I prefer.
|
||||||
|
@ -21,12 +21,14 @@ The Plan.md file should have the project information and steps.
|
||||||
- Rust for binary tools etc
|
- Rust for binary tools etc
|
||||||
|
|
||||||
## Written language and style
|
## Written language and style
|
||||||
use Notes.md to take notes .
|
use notes.md to take notes .
|
||||||
Use a casual but knowledgeable tone. This is not a corporate project there are no audits or compliance to adhere to.
|
Use a casual but knowledgeable tone. This is not a corporate project there are no audits or compliance to adhere to.
|
||||||
More like an open source project, more like a hobby/passion project
|
More like an open source project, more like a hobby/passion project
|
||||||
|
|
||||||
# Bottom part
|
# AI Agent Instructions: NixOS Flakes Migration for CongenitalOptimist
|
||||||
itreative about the project update often
|
## 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.
|
||||||
|
Itreative about the project, update often
|
||||||
## Current System Information
|
## Current System Information
|
||||||
- **Hostname**: work → congenital-optimist (migration in progress)
|
- **Hostname**: work → congenital-optimist (migration in progress)
|
||||||
- **Current Version**: NixOS 25.05 (migrated from 23.11)
|
- **Current Version**: NixOS 25.05 (migrated from 23.11)
|
||||||
|
|
|
@ -11,6 +11,8 @@
|
||||||
fzf
|
fzf
|
||||||
zoxide
|
zoxide
|
||||||
uutils-coreutils-noprefix
|
uutils-coreutils-noprefix
|
||||||
|
direnv # Directory-based environment management
|
||||||
|
nix-direnv # Nix integration for direnv
|
||||||
];
|
];
|
||||||
environment.shellAliases = {
|
environment.shellAliases = {
|
||||||
vi = "nvim";
|
vi = "nvim";
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
# Development utilities
|
# Development utilities
|
||||||
git
|
git
|
||||||
nix-direnv
|
nix-direnv
|
||||||
|
direnv
|
||||||
gh
|
gh
|
||||||
github-copilot-cli
|
github-copilot-cli
|
||||||
];
|
];
|
||||||
|
|
|
@ -18,6 +18,11 @@
|
||||||
autosuggestions.enable = true;
|
autosuggestions.enable = true;
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
|
|
||||||
|
# direnv integration
|
||||||
|
interactiveShellInit = ''
|
||||||
|
eval "$(direnv hook zsh)"
|
||||||
|
'';
|
||||||
|
|
||||||
# Common aliases for all users
|
# Common aliases for all users
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
# Modern CLI tool replacements
|
# Modern CLI tool replacements
|
||||||
|
@ -70,9 +75,6 @@
|
||||||
curl
|
curl
|
||||||
wget
|
wget
|
||||||
|
|
||||||
# Media
|
|
||||||
celluloid
|
|
||||||
|
|
||||||
# Utilities
|
# Utilities
|
||||||
file
|
file
|
||||||
unzip
|
unzip
|
||||||
|
|
|
@ -95,7 +95,7 @@
|
||||||
# Development preferences
|
# Development preferences
|
||||||
EDITOR = "emacs";
|
EDITOR = "emacs";
|
||||||
BROWSER = "firefox";
|
BROWSER = "firefox";
|
||||||
TERMINAL = "alacritty";
|
TERMINAL = "kitty";
|
||||||
|
|
||||||
# Git configuration
|
# Git configuration
|
||||||
GIT_EDITOR = "emacs";
|
GIT_EDITOR = "emacs";
|
||||||
|
|
1
notes.md
1
notes.md
|
@ -0,0 +1 @@
|
||||||
|
# Notes to be use to write blog post
|
0
users/README.md
Normal file
0
users/README.md
Normal file
Loading…
Add table
Add a link
Reference in a new issue