fix: use ~/dotfiles, update docs, and disable Docker
Co-authored-by: aider (openrouter/openai/gpt-5.2) <aider@aider.chat>
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
# After install, Integral300 is mounted at /data (per your NixOS config).
|
||||
# These dotfiles are stored on that drive.
|
||||
dotfilesDir = "/data/home_sam_ubuntu/dotfiles";
|
||||
# Dotfiles live on the installed system itself at: ~/dotfiles
|
||||
dotfilesDir = "${config.home.homeDirectory}/dotfiles";
|
||||
|
||||
# Home Manager helper to symlink files/dirs that live outside the Nix store.
|
||||
# This is the correct mechanism for "dotfiles stored on /data".
|
||||
mkOOS = config.lib.file.mkOutOfStoreSymlink;
|
||||
in
|
||||
{
|
||||
@@ -37,11 +35,11 @@ in
|
||||
};
|
||||
|
||||
# Dotfiles integration notes:
|
||||
# - I am NOT symlinking ~/.zshrc directly because Home Manager manages it.
|
||||
# - If you have extra Zsh snippets in your dotfiles repo that you want sourced,
|
||||
# tell me the exact filename(s) and we’ll add them here safely.
|
||||
# - Home Manager manages ~/.zshrc; do not symlink ~/.zshrc directly.
|
||||
# - If you want to source additional Zsh snippets from ~/dotfiles, tell me
|
||||
# the exact filename(s) and we’ll add them safely here.
|
||||
initExtra = ''
|
||||
# Optional: source additional Zsh config from /data dotfiles if you want.
|
||||
# Optional: source additional Zsh config from ~/dotfiles if desired.
|
||||
# Example (uncomment + adjust if you confirm the exact file path):
|
||||
# if [ -f "${dotfilesDir}/zsh/extra.zsh" ]; then
|
||||
# source "${dotfilesDir}/zsh/extra.zsh"
|
||||
@@ -111,20 +109,18 @@ in
|
||||
];
|
||||
|
||||
# ---
|
||||
# Dotfiles (out-of-store symlinks from /data)
|
||||
# Dotfiles (out-of-store symlinks from ~/dotfiles)
|
||||
# ---
|
||||
# IMPORTANT:
|
||||
# - These paths must exist on the machine at activation time.
|
||||
# - This assumes your dotfiles are available at:
|
||||
# /data/home_sam_ubuntu/dotfiles/<app>
|
||||
# - If you rename/move the dotfiles directory, update dotfilesDir above.
|
||||
# - These symlinks will point into ~/dotfiles.
|
||||
# - Ensure you clone/copy your dotfiles to ~/dotfiles on the new system.
|
||||
home.file.".config/atuin".source = mkOOS "${dotfilesDir}/atuin";
|
||||
home.file.".config/kitty".source = mkOOS "${dotfilesDir}/kitty";
|
||||
home.file.".config/nvim".source = mkOOS "${dotfilesDir}/nvim";
|
||||
home.file.".config/zellij".source = mkOOS "${dotfilesDir}/zellij";
|
||||
|
||||
# TODO (needs confirmation from you):
|
||||
# - zsh dotfiles: what exact files do you want sourced/linked?
|
||||
# - zsh dotfiles: what exact files do you want sourced?
|
||||
# - pk10k: what is the exact filename for your p10k config?
|
||||
#
|
||||
# Once you confirm, we can add e.g.:
|
||||
|
||||
Reference in New Issue
Block a user