Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Local Env as a Code with Nix
Search
Shunsuke Tsuchiya
October 30, 2025
1.9k
5
Share
Local Env as a Code with Nix
2025/10/31(金) 「開発環境自慢Night 〜CLI型AIエージェント×ターミナル編〜」の登壇資料
Shunsuke Tsuchiya
October 30, 2025
More Decks by Shunsuke Tsuchiya
See All by Shunsuke Tsuchiya
俺俺最強開発環境
shunsock
2
800
The Future of Data Engineering in Findy
shunsock
0
730
Getting Started with NixOS / NixOS を導入した話
shunsock
0
1k
contribution to astral-sh/uv
shunsock
0
990
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
6.1k
The Cult of Friendly URLs
andyhume
79
6.8k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
53k
How to Talk to Developers About Accessibility
jct
2
180
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
270
It's Worth the Effort
3n
188
29k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
480
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
300
Transcript
AIが迷わない ローカル環境 as a Code 開発環境自慢Night 〜CLI型AIエージェント×ターミナル編〜 Date: 2024-10-31 Place:
ファインディ株式会社オフィス Speaker: しゅんそく (@shunsock) shunsock: 2025-10-31
Self Introduciton 自己紹介 しゅんそく (@shunsock) ファインディ株式会社 CTO室 ソフトウェアエンジニア shunsock: 2025-10-31
Introduction 導入 AIにとって最高の環境とは 人間ではなく「AI」です、AI時代ですからね...!! shunsock: 2025-10-31
Introduction 導入 全てが明文化された環境 さらに、それらが整理整頓されていると良い shunsock: 2025-10-31
Introduction 導入 パッケージが明文化された環境 さらに、それらが整理整頓されていると良い shunsock: 2025-10-31
Introduction 導入 パッケージが明文化された環境 を作り、AI Agentに伝える方法を話します shunsock: 2025-10-31
Introduction 導入 shunsock: 2025-10-31
Introduction 導入 Slant: https://www.slant.co/topics/511/~best-mac-package-managers shunsock: 2025-10-31
Introduction 導入 2. コードの可読性が高い 3. OSSのCLIである 1. DevShellとGlobal環境のパッケージをコード管理可能 shunsock: 2025-10-31
Introduction 導入 1. DevShellとGlobal環境のパッケージをコード管理可能 3. OSSのCLIである そんな都合の良いもの あるんですかーーー??? 2. コードの可読性が高い
shunsock: 2025-10-31
Opinion 主張 全部可能、そうNixならね OSSの純粋関数型パッケージマネージャ shunsock: 2025-10-31
Dependency Hell (依存性の地獄)からの開放 ...の文脈で語られがちだがその話はしない What’s Nix? ニックスって何? shunsock: 2025-10-31
宣言的な文法 Nix言語による記述 今日話すのはこっち What’s Nix? ニックスって何? shunsock: 2025-10-31
宣言的な記法でどのレジストリから どのパッケージを入れるのか明記 これをグローバル環境でも ローカル (開発シェル) 環境でもできる What’s Nix? ニックスって何? shunsock:
2025-10-31
今日はNix Darwinで 話を進めます Linux過激派の人達もNixOS使っているので許してほしい Warning おことわり shunsock: 2025-10-31
Architecture システム構成 - MacOS homebrew nix develop Nix Darwin &
Home Manager docker image Language Servers shunsock: 2025-10-31
Architecture 開発シェル内の情報とグローバル環境両方の情報を使いたい shunsock/* shunsock/dotfiles/asagi shunsock/ dotfiles/ yamabuki Language Servers gh
api ...
Local環境 as a Codeの実践 利用できるコマンドをClaudeに伝える Nixではインストールするパッケージを 明示的に設定する ここではCLIのみを記載しているが、 Nix Darwin
/ NixOS を利用しているので 実際はGUIも管理している shunsock: 2025-10-31
Local環境 as a Codeの実践 利用できるコマンドをClaudeに伝える ~/.claude/commands/ にMarkdownを配置 配置する部分も Nixではコード化できる (../config/claude
→ $HOME/.claude) shunsock: 2025-10-31
Local環境 as a Codeの実践 利用できるコマンドをClaudeに伝える
Local環境 as a Codeの実践 利用できるコマンドをClaudeに伝える
Architecture 環境で利用できるコマンドをClaudeに伝える shunsock/* shunsock/dotfiles/asagi shunsock/ dotfiles/ yamabuki Language Servers gh
api ... shunsock: 2025-10-31
Read DevShell Packages 開発シェル独自のパッケージを定義・取得 (project root)/flake.nix に 開発シェルのみで利用するコマンドを記載 ~/.claude/commands/に Markdownを配置
shunsock: 2025-10-31
Read DevShell Packages 開発シェル独自のパッケージを定義・取得 shunsock: 2025-10-31
Read DevShell Packages 開発シェル独自のパッケージを定義・取得 shunsock: 2025-10-31
Read DevShell Packages 開発シェル独自のパッケージを定義・取得 shunsock: 2025-10-31
Conclusion まとめ パッケージが明文化された環境 グローバルも開発シェルも整理整頓されている!!
Thank you for listening ご清聴ありがとうございました 懇親会で是非話しましょう!! Next Page → 付録1,
2: リポジトリ構成、システム設計 shunsock: 2025-10-31
Repository リポジトリ構成 shunsock/dotfiles asagi: Nix Darwin azuma: NixOS yamabuki: Editor
shunsock: 2025-10-31
Architecture 開発環境同士やコンテナ、GUIは干渉しない homebrew shunsock/* shunsock/dotfiles/asagi shunsock/ dotfiles/ yamabuki Language Servers
shunsock: 2025-10-31