概要
🤖 Dotfiles for my Machines
開発ツールできること
- my.gaming.enable - true - Steam and gaming support
- my.devTools.enable - true - Android tools, Godot, formatters, uv, audacity
- my.editor.enable - true - Zed editor and the Nix language servers (nixd, nil)
- my.laptop.enable - false - Laptop power management, ThinkPad charge cap, bluetooth
計測したスター増加
- 24時間
- 0
- 7日間
- -1
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルshub39's Dotfiles
Hosts
| Host | Machine | Role |
|---|---|---|
rher |
Desktop PC | Gaming + development |
gro-goroth |
ThinkPad laptop | Laptop + home server (Jellyfin) |
sylvian |
Home computer | Headless Immich server |
alll-mer |
Macbook | development |
Module layout
| Directory | Scope |
|---|---|
modules/common |
Cross-platform modules (options, nix, shell, fonts, packages) |
modules/nixos |
NixOS-only modules (environment.nix = base, default.nix = base + packages) |
modules/darwin |
nix-darwin-only modules |
modules/features |
Opt-in capabilities, gated by my.* flags |
Each platform has an aggregator (modules/nixos/default.nix,
modules/darwin/default.nix) that imports the shared common modules plus its
own platform modules. Host files must not list module paths: they import
only their own hardware-configuration.nix and the platform aggregator, then
choose capabilities with my.* flags.
modules/nixos/environment.nix is the base aggregator: boot, networking,
locale, audio, desktop plumbing, users, shell and git, with no application
packages. modules/nixos/default.nix adds the shared desktop packages on top.
Hosts that should stay minimal (like sylvian) import environment.nix plus
the features they need instead of the full aggregator.
Capabilities (my.*)
| Option | Default | Effect |
|---|---|---|
my.gaming.enable |
true |
Steam and gaming support |
my.devTools.enable |
true |
Android tools, Godot, formatters, uv, audacity |
my.editor.enable |
true |
Zed editor and the Nix language servers (nixd, nil) |
my.laptop.enable |
false |
Laptop power management, ThinkPad charge cap, bluetooth |
my.homeserver.enable |
false |
Jellyfin, qbittorrent, slskd |
my.tailscale.enable |
false |
Tailscale mesh VPN |
my.hermes.enable |
false |
Hermes agent container (docker) with its web UI |
my.immich.enable |
false |
Immich photo server (mount data disk at /var/lib/immich) |
my.niri.enable |
true |
Niri compositor, ly display manager, and Niri-only desktop packages |
my.gnome.enable |
false |
GNOME desktop environment with GDM |
my.limitBootOptions.enable |
false |
Limit systemd-boot to a single boot configuration (generation) |
my.headless.enable |
false |
No virtual console or monitor output, and no GUI app runtime |
A host picks a desktop environment with my.niri.enable / my.gnome.enable
(niri is the default), or neither for a headless host. For example, sylvian
runs headless:
my = {
niri.enable = false;
headless.enable = true;
immich.enable = true;
limitBootOptions.enable = true;
tailscale.enable = true;
};
sylvian imports only the base environment plus the features it needs, so it
does not pull in the shared desktop packages (alacritty, chromium, etc.).
my.headless.enable disables the virtual console (console.enable = false),
silences the kernel log (boot.consoleLogLevel = 0), blanks the screen
(consoleblank=1) and turns off flatpak, so an attached monitor shows no
output.
gro-goroth sets:
my = {
gaming.enable = false;
devTools.enable = false;
laptop.enable = true;
homeserver.enable = true;
tailscale.enable = true;
hermes.enable = true;
};
Niri
niri/config.kdl holds the shared configuration. Host-specific input
settings live in niri/hosts/. Point ~/.config/niri/config.kdl at the
shared config plus the file for the current machine:
// rher
include "~/.config/dotfiles/niri/config.kdl"
include "~/.config/dotfiles/niri/hosts/rher.kdl"
// gro-goroth
include "~/.config/dotfiles/niri/config.kdl"
include "~/.config/dotfiles/niri/hosts/gro-goroth.kdl"
関連プロジェクトを探す
読み込み中…