Skip to content

use nix to manage dependencies across OS#2

Closed
usrrname wants to merge 27 commits intomainfrom
nix-migration
Closed

use nix to manage dependencies across OS#2
usrrname wants to merge 27 commits intomainfrom
nix-migration

Conversation

@usrrname
Copy link
Copy Markdown
Owner

No description provided.

Jen Chan added 19 commits March 16, 2026 13:10
- Add flake.nix with NixOS and home-manager configuration
- Add linux/home.nix for Debian/RPi package management
- Move NixOS config to hosts/nixos/
- Restructure stow into common/, macos/, linux/, pi/ directories
- Add Linux-specific zsh config in stow/linux/zsh/
- Update stow-dotfiles.sh for new directory structure
- Update .gitignore and .stow-local-ignore for new structure
- Remove old root directories (bash, nvim, zsh, etc.)
- Remove old nix/ directory (config now in hosts/nixos/)
- Files are now organized in stow/common/, stow/macos/, stow/linux/
- fnm: Node.js version manager (used by direnv config)
- starship: Shell prompt (used in original NixOS config)
- Restore init.lua, lazyvim.json, lua/config/*, lua/plugins/*
- Remove .DS_Store files
- Restore docker config.json and daemon.json
- Restore gh config.yml and hosts.yml
- Restore op config
- Remove SSH private keys (should not be in git)
- Remove lock files and .DS_Store
- Add 1Password SSH agent configuration to stow/linux/zsh/.zshrc
- Add op (1Password CLI) to linux/home.nix packages
- Move .profile to stow/common for cross-platform fallback
- Provides POSIX-compliant PATH setup for login shells
- Change nixosConfigurations.system from x86_64-linux to aarch64-linux
- Add supported systems table
- Add quick start for each OS (NixOS, Linux, macOS)
- Document package management approach
- Explain stow directory structure
- Add troubleshooting section
- nix.yml: Tests flake evaluation, home-manager builds for Linux and Pi
- stow.yml: Verifies stow package structure
- Create .github/actions/setup-nix/action.yml
- Use reusable action in nix.yml workflow
- Consolidate home-manager jobs into matrix
- Set fail-fast: false to allow other jobs to continue if one fails
- Remove devbox.json
- Remove devbox.d/
- Remove .devbox/
- Remove devbox.lock

Devbox is redundant since Nix/Home Manager manages packages.
- Add note explaining flakes read config directly from dotfiles
- Clarify hosts/nixos/configuration.nix usage
Jen Chan added 8 commits March 17, 2026 17:01
- Fix syntax error (remove stray line)
- Add direnv to packages list
- Add home.stateVersion = "24.05" (required by home-manager)
- Change from nixos-24.05 to nixos-25.05
- Fixes lib.genAttrs' error
- Add home.username = "jenc" (required by home-manager)
- Add home.homeDirectory = "/home/jenc" (required by home-manager)
- Change nixpkgs from 25.05 to 26.05 (matches home-manager)
- Remove fetchTarball (vscode-server now via nixpkgs)
- Change nixpkgs to nixos-unstable (nixos-26.05 doesn't exist)
- Pin home-manager to release-26.05
- Remove home-manager release pin
- Keep nixos-unstable for nixpkgs
@usrrname usrrname closed this Mar 19, 2026
@usrrname usrrname deleted the nix-migration branch March 19, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant