Nixosのdotfiles
  • Nix 69.4%
  • Python 25.1%
  • Shell 5.5%
Find a file
2026-08-20 19:30:58 +09:00
docs Expose KURO capture as a virtual source 2026-08-20 19:30:58 +09:00
flake-inputs Replace ReGreet with Noctalia Greeter 2026-07-31 07:56:05 +09:00
home/attodao Refactor config into feature modules 2026-07-31 00:50:25 +09:00
hosts Expose KURO capture as a virtual source 2026-08-20 19:30:58 +09:00
lib Refactor config into feature modules 2026-07-31 00:50:25 +09:00
modules Handle power and lid events in Hyprland 2026-08-15 21:40:28 +09:00
.gitignore add flake.lock 2026-06-20 13:37:56 +09:00
flake.lock Replace ReGreet with Noctalia Greeter 2026-07-31 07:56:05 +09:00
flake.nix Refactor config into feature modules 2026-07-31 00:50:25 +09:00
README.md Refactor config into feature modules 2026-07-31 00:50:25 +09:00

AttODesk NixOS Configuration

attodao用のNixOS / Home Manager構成です。デスクトップのattodeskートPCのattolapを、ソフトウェア単位のfeatureとホスト固有のhardware設定で管理します。

このリポジトリには個人環境向けのユーザー名、メールアドレス、ディスク構成、モニター構成が含まれています。第三者の環境へそのまま適用する用途は想定していません。

構成

パス 役割
flake.nix NixOSとホスト別Home Manager出力を組み立てます。
hosts/<host>/ 生成済みhardware設定、ストレージ、実機固有値を管理します。
modules/features/<category>/<name>/ ソフトウェアの導入先ホスト、設定、パッケージ、資産を管理します。
modules/nixos/ 全ホストで必須のNixOS基盤を管理します。
home/attodao/default.nix ユーザー情報とHome Managerのstate versionを定義します。
docs/ 構成、運用、環境詳細、特殊実装の説明を置きます。

初期セットアップ

  1. リポジトリを配置します。
git clone <repository-url> ~/.dotfiles
cd ~/.dotfiles
  1. 新しい実機では、対象ホストのhardware-configuration.nixを生成済み設定で置き換えます。
sudo install -m 644 /etc/nixos/hardware-configuration.nix \
  hosts/<host>/hardware-configuration.nix
sudo chown "$USER":users hosts/<host>/hardware-configuration.nix

<host>にはattodeskまたはattolapを指定します。hardware設定は実機固有のため、既存ホストのファイルを別の実機へ流用しません。

  1. 評価とビルドを確認してから適用します。
nix flake check --no-write-lock-file
sudo nixos-rebuild build --flake .#<host>
sudo nixos-rebuild switch --flake .#<host>

詳細