Files
nix-config/common/flakes.nix
Zuckerberg 99ef62d31a
All checks were successful
Check Flake / check-flake (push) Successful in 1m21s
Fix unused vars
2026-02-11 23:12:00 -08:00

19 lines
285 B
Nix

{ lib, config, ... }:
with lib;
let
cfg = config.nix.flakes;
in
{
options.nix.flakes = {
enable = mkEnableOption "use nix flakes";
};
config = mkIf cfg.enable {
nix = {
extraOptions = ''
experimental-features = nix-command flakes
'';
};
};
}