Skip to content

About

My system configuration with nix

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

254 Commits

Folders and files

Repository files navigation

kapi-sysconf

Personal system configuration, managed with Nix flakes.

Neovim config (kapi-vim) lives in its own repo, pulled in as both a git submodule and a flake input.

Hosts

Host Flake output OS Arch
Mac (M4) darwinConfigurations.wisdom-root-m4 macOS aarch64-darwin
Home server nixosConfigurations.nixos (dir: hosts/odroid) NixOS aarch64-linux

The flake-output key must equal the machine's real hostname — darwin-rebuild/nixos-rebuild resolve --flake . by matching it. To add a host: one entry in users/default.nix plus a hosts/<dir>/default.nix; everything else comes from the matching modules/.

Usage

make check          # nix flake check
make build          # dry-build the darwin system (no switch)
make diff           # build, then diff against the running system
make os             # darwin-rebuild switch (this machine)
make nixos          # nixos-rebuild switch (run on odroid)
make home           # home-manager switch
make update         # relock everything (update-core: core inputs only)
make bump-kapi-vim  # update kapi-vim submodule + relock its input

The kapi-vim submodule

users/home/kapi-vim is wired both as a git submodule (so xdg.configFile."nvim" symlinks into a real checkout) and as a local-path flake input following this flake's own nixpkgs. Moving the submodule pointer alone isn't enough — flake.lock needs relocking too; make bump-kapi-vim does both.

About

My system configuration with nix

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages