Skip to content

Instantly share code, notes, and snippets.

@ipetkov
ipetkov / audit.nix
Last active January 26, 2025 19:49
Find all enabled-by-default options of a NixOS configuration
# Run this via
# nix build -f ./audit.nix --arg flakePath 'toString ./.' --argstr hostname THEHOST
{ pkgs ? import <nixpkgs> { }
, flakePath ? toString ./.
, hostname
}:
let
inherit (pkgs) lib;
flake = builtins.getFlake flakePath;
@ipetkov
ipetkov / keybase.md
Created October 11, 2015 21:02
Keybase.io proof

Keybase proof

I hereby claim:

  • I am ipetkov on github.
  • I am ipetkov (https://keybase.io/ipetkov) on keybase.
  • I have a public key whose fingerprint is BD98 07D4 0141 0082 6C10 C0F7 A0E6 66B3 8933 F246

To claim this, I am signing this object: