dotfiles for sup39
  • Shell 67.8%
  • Nix 32.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-14 16:38:45 +09:00
claude fix(claude): deny the sops age key and host key dirs in the sandbox 2026-09-12 19:22:40 +09:00
nvim Rename nvimIde.enable to nvim.ide.enable; trim README and fix statusline comment 2026-08-30 19:00:09 +09:00
shell Drop stale shell/zshrc; rename README section and prune its mention 2026-08-30 19:04:48 +09:00
tests fix(claude): read hook input from fd 0, not /dev/stdin 2026-09-12 19:22:31 +09:00
tmux fix(tmux): remove repeat flag from single-key navigation 2026-09-14 16:38:45 +09:00
.gitignore feat: support gitignored CLAUDE.local.md for personal dev instructions 2026-08-30 00:34:46 +09:00
CLAUDE.md docs: correct the restart note and record hook/sandbox gotchas 2026-09-12 19:22:42 +09:00
flake.lock fix: avoid nixpkgs follow for nixvim 2026-08-29 03:35:08 +09:00
flake.nix fix(claude): read hook input from fd 0, not /dev/stdin 2026-09-12 19:22:31 +09:00
LICENSE docs: add README, relicense to 0BSD, add CLAUDE.md 2026-08-29 03:52:35 +09:00
README.md Drop stale shell/zshrc; rename README section and prune its mention 2026-08-30 19:04:48 +09:00

sup39-dotfiles

Personal dotfiles for sup39, packaged as a Nix flake. Config isn't meant to be copied or symlinked — it's exposed as a reusable nixosModules.default that a NixOS configuration imports.

Modules

These three are unconditional. Two extras are gated by options:

  • sup39-dotfiles.nvim.ide.enable — IDE-grade nixvim extras (completion, rustaceanvim, LSP) from nvim/ide.nix. Off by default.
  • sup39-dotfiles.claude.enable (+ .user, default "sup39") — declaratively symlinks ~/.claude from claude/.

Usage

{
  inputs.sup39-dotfiles.url = "git+https://forgejo.sup39.dev/sup39/dotfiles.git";

  outputs = { nixpkgs, sup39-dotfiles, ... }: {
    nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux"; # or aarch64-linux
      modules = [
        sup39-dotfiles.nixosModules.default
        { sup39-dotfiles.nvim.ide.enable = true; } # optional
        # ...your other modules
      ];
    };
  };
}

Then rebuild: sudo nixos-rebuild switch --flake .#myhost.

Development

  • nix flake check — validate the flake and its modules.
  • nix fmt — format the tree with nixfmt-tree.

License

See LICENSE.