diff --git a/modules/history.nix b/modules/history.nix index bfa7a1c..c63d39d 100644 --- a/modules/history.nix +++ b/modules/history.nix @@ -4,9 +4,8 @@ let icloud = "/Users/${username}/Library/Mobile Documents/com~apple~CloudDocs"; in { - # Shell/REPL history synced through iCloud. Primary-account-only: only that - # user is signed into iCloud, so this is imported per-user in flake.nix rather - # than the shared darwin home layer (cm has no iCloud) or common.nix (VMs). + # Shell/REPL history synced through iCloud. Only accounts signed into iCloud + # can use this, so hosts/ imports it just for those (not cm, not VMs). home.file.".local/share/fish/fish_history".source = config.lib.file.mkOutOfStoreSymlink "${icloud}/fish_history"; home.file.".irb_history".source = config.lib.file.mkOutOfStoreSymlink "${icloud}/.irb_history";