nix-config
My Nix system configs!
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Check it deeper on your machine
It has changed since its scan on 11 Nov 2026.
As a Claude Code plugin, install it and then ask Claude Code:
/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/malob/nix-config with scanskillsafety
Or from a terminal, clone it and run it:
git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/malob/nix-config'
It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.
Badge for your README
Markdown
[](/listings/malob--nix-config)HTML
<a href="/listings/malob--nix-config"><img src="/api/listings/malob--nix-config/badge.svg" alt="findsafeskills safety rating" /></a>Install
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
readme.md · README · 41 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
- # My Nix Configs
- 
- This repo contains my Nix configs for macOS and Linux and by extension, configuration for most tools/programs I use, at least in the terminal.
- I'm continuously tweaking/improving my setup, trying to find ways to make more of my configuration declarative, and I like experimenting with bleeding edge updates/features, so this repo sees a lot of changes. I do try to ensure that `master` always builds and doesn't have any bad bugs (at least in my workflow), and keep the code fairly well documented.
- Feel free to file an [issue](https://github.com/malob/nix-config/issues) or start a [discussion](https://github.com/malob/nix-config/discussions) if you find a bug, or think something is broken, or think I'm doing something in a dumb/clumsy way and have a suggestion for a more elegant alternative, or try to crib something from my config but just can't get it working, or are looking at my config and think to yourself "does this guy know about X, cause I bet he'd be into it", or have some other type of feedback/comment. (Issues, are better for things that are actually issues, while discussions are better for ideas, questions, etc.)
- I make no promises that I'll respond quickly, or fix the bug (especially if I'm not experiencing it), or whatever, but you definitely shouldn't feel like you're imposing in any way, and I probably will respond within a few days.
- Below, I've highlighted stuff that I'm particularly happy with or think others might find helpful/useful.
- ## Highlights
- In no particular order:
- * [Flakes](./flake.nix)!
- * All external dependencies managed through flakes for easy updating.
- * Outputs for [`nix-darwin`](https://github.com/nix-darwin/nix-darwin) macOS system configurations (using `home-manager` as a `nix-darwin` module) and a [`home-manager`](https://github.com/nix-community/home-manager) user configuration for Linux.
- * A function to simplify making `nix-darwin` system configurations (with `home-manager` integration), [`lib.mkDarwinSystem`](./lib/mkDarwinSystem.nix).
- * `darwinModules` output for `nix-darwin` modules with additional functionality and prepackaged configuration, including:
- * [`users-primaryUser`](./modules/darwin/users.nix) that provides `users.primaryUsers.{username,fullName,email,nixConfigDirectory}` options, which allows specifying this information one time by setting these options and then referencing their values when setting other options.
- * `homeManagerModules` output for `home-manager` modules with additional functionality and prepackaged configuration, including:
- * `home-user-info`, that provides the same options as the my `nix-darwin` module `users-primaryUsers` above under `home.user-info`. See examples of it in use in [`home/git.nix`](./home/git.nix).
- * [`colors`](./modules/home/colors) module for declarative colorscheme definitions using OkLCH color math. Schemes define shared monotones and accents; the module auto-generates both light/dark polarities with correct ANSI mapping, bright variants, and per-app themes (Ghostty, Fish, kitty, bat, yazi). See [`home/colors.nix`](./home/colors.nix) for usage.
- * [`malo-git-aliases`](./home/git-aliases.nix)
- * [`malo-gh-aliases`](./home/gh-aliases.nix)
- * [`programs-starship-extras`](./modules/home/programs/starship/extras.nix) that provides `programs.starship.extras.presets.<name>` options for easily enabling [Starship presets](https://starship.rs/presets/).
- * Support for non-flake compatible versions of Nix and legacy workflows through [`flake-compat`](https://nixos.wiki/wiki/Flakes#Using_flakes_project_from_a_legacy_Nix):
- * [`default.nix`](./default.nix), allows traditional Nix commands like `nix-build` to operate on the flake inputs/outputs.
- * Support for Macs with Apple Silicon including ability to easily overlay in x86 version of packages, when they don't build on ARM. Search `pkgs-x86` in [`flake.nix`](./flake.nix) and see `nix.settings.extra-platforms` in [`darwin/bootstrap.nix`](./darwin/bootstrap.nix) for details.
- * A GitHub [workflow](./.github/workflows/ci.yml) that builds the my macOS system `nix-darwin` config and `home-manager` Linux user config, and updates a Cachix cache. Also, once a week it updates all the flake inputs before building, and if the build succeeds, it commits the updated `flake.lock` file.
- * [Git config](./home/git.nix) with a bunch of handy aliases and better diffs using [`delta`](https://github.com/dandavison/delta).
- * Unified colorscheme (based on [OK Solar](https://meat.io/oksolar), itself a perceptually uniform redesign of [Solarized](https://ethanschoonover.com/solarized/)) with automatic light/dark switching across [Ghostty](https://ghostty.org), [Fish](https://fishshell.com), [bat](https://github.com/sharkdp/bat), [yazi](https://yazi-rs.github.io), and other tools. Fish uses its native `.theme` file format with OSC-based theme switching — no manual toggle needed.
- * A nice [shell prompt config](./home/starship.nix) for Fish using Starship.
- * [Claude Code config](./home/claude.nix) with live-editable configuration.
- * Uses [1MCP](https://docs.1mcp.app) to aggregate MCP servers via LaunchAgent
- * Symlinks config files to [`configs/claude/`](./configs/claude/) for editing without rebuild
- * Global context, settings, and permissions managed declaratively
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.