attofort 上の container (remote desktop) 用の nixos dotfiles
  • Nix 96.6%
  • Shell 2.8%
  • CSS 0.6%
Find a file
AttODao 96bb60542b init
2026-07-01 23:20:07 +09:00
AGENTS init 2026-07-01 23:20:07 +09:00
flake-inputs init 2026-07-01 23:20:07 +09:00
home/attodao init 2026-07-01 23:20:07 +09:00
hosts/desktop init 2026-07-01 23:20:07 +09:00
modules/nixos init 2026-07-01 23:20:07 +09:00
.gitignore init 2026-07-01 23:20:07 +09:00
AGENTS.md init 2026-07-01 23:20:07 +09:00
flake.lock init 2026-07-01 23:20:07 +09:00
flake.nix init 2026-07-01 23:20:07 +09:00
README.md init 2026-07-01 23:20:07 +09:00

AttODesk NixOS Configuration

attodao 用の NixOS / Home Manager 構成です。現在は Incus 内で動かす desktop 1台のみを対象にしています。

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

構成

.
├── flake.nix
├── hosts/
│   └── desktop/
│       ├── default.nix
│       └── hardware-configuration.nix
├── modules/nixos/
│   ├── core/
│   ├── desktop/
│   ├── hardware/
│   ├── programs/
│   └── services/
└── home/attodao/
    ├── desktop/
    ├── programs/
    ├── services/
    ├── default.nix
    └── packages.nix

含まれるもの

  • Nix flakes
  • attodao ユーザー
  • OpenSSH
  • zsh / Starship
  • Hyprland / Noctalia / ReGreet
  • PipeWire
  • fcitx5-mozc-ut
  • Floorp、Thunderbird、Zed、Foot、PCManFM
  • Open Deck Desktop
  • コンテナ向けの最小構成

desktop コンテナ

desktop は Incus コンテナ前提です。

  • ホスト名: desktop
  • 画面設定: 単一の preferred 出力
  • Hyprland は user service で起動し、起動後に Sunshine を直接立ち上げます
  • dotfiles: ホームディレクトリ配下に手動配置
  • bootloader / login PIN / /mnt/hdd1 / ゲーム系 / Wallpaper Engine / Kando / Solaar は含めません

実機で最初にやること

hardware-configuration.nix はコンテナ向けの最小構成です。必要に応じてここだけ調整してください。

sudo nixos-rebuild build --flake .#desktop
sudo nixos-rebuild switch --flake .#desktop

Home Manager だけを適用する場合:

home-manager switch --flake .#attodao

確認

nix eval --no-write-lock-file --raw .#nixosConfigurations.desktop.config.system.build.toplevel.drvPath
nix eval --no-write-lock-file --raw .#homeConfigurations.attodao.activationPackage.drvPath

注意

  • system.stateVersionhome.stateVersion は安易に変更しないでください。
  • flake.lock は通常の評価では更新しない前提です。--no-write-lock-file を使ってください。
  • /mnt/hdd1 前提の設定は残していません。