Skip to content
プロジェクト

概要

Personal dotfiles and server orchestration using Nix and Home Manager

開発ツール

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
+1
1か月
+3

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

bfpimentel's dotfiles

Introduction

This is a heavily opinionated and personal dotfiles repository using Nix with the Dendritic pattern.

It's intended to be fully reproducible, although I'm not ensuring anything.

Most app configuration lives in dotfiles/ and is linked with Home Manager helpers from modules/features/home/util.nix.

Hosts

  • seraphim: Nix Darwin Host (aarch64-darwin), Home Manager, Homebrew Casks.
  • cherubim: NixOS Host (x86_64-linux), Hyprland, Game streaming setup (out of service)
  • powers: NixOS Host (x86_64-linux), Wireguard client, Docker containers.
  • thronos: NixOS Host (aarch64-linux), Wireguard server for tunneling local network.

Structure

.
├── flake.nix                  # Flake entry point; imports ./modules through flake-parts
├── dotfiles                   # App config sources linked into $HOME
├── secrets                    # agenix definitions and encrypted secrets
├── misc                       # Extra managed files, such as Vial layouts and wallpapers
└── modules
    ├── default.nix            # Auto-imports all Nix modules under the 'modules' folder
    ├── topology               # bfmp options and generated flake outputs
    └── features
        ├── home               # Home Manager users, packages, files, SSH, Neovim, Homebrew
        ├── darwin             # Darwin system config
        └── nixos              # NixOS boot, users, networking, display, secrets, services
            ├── hardware       # Host hardware definitions
            └── containers     # OCI declarative containers (docker)

Feature modules can also be moved into archive folders and they will not be resolved by the flake.

Design

The repository is organized around the bfmp topology:

bfmp = {
    nixos = {
        sharedModules = [];    # applies modules to every nixos host.
        hosts = {
            <host> = {
                modules = [];  # adds host-specific nixos modules.
            }
        };
    };
    darwin = {
        sharedModules = [];    # applies modules to every nix-darwin host.
        hosts = {
            <host> = {
                modules = [];  # adds host-specific nix-darwin modules.
            }
        };
    };
    hm = {
        sharedModules = [];    # applies Home Manager modules to every home profile.
        hosts = {
            <host> = {
                modules = [];  # adds host-specific Home Manager modules.
            }
        };
    };
};

関連プロジェクトを探す

読み込み中…