8 nix.settings.experimental-features = [
12 # ExplanationNote: disable global registry
13 # to keep only system registry.
14 nix.settings.flake-registry = "/etc/nix/registry.json";
15 #nix.registry.self.flake = inputs.self;
17 # ExplanationNote: use input.nixpkgs to record a public rev
18 # into flake.nix using flake:nixpkgs as an input.
19 source = inputs.nixpkgs;
22 setFlakeRegistry = true;
24 nix.registry.nixpkgs = {
32 inherit (inputs.nixpkgs) rev;
33 # May be overriden by nixos/modules/installer/cd-dvd/channel.nix
34 type = lib.mkDefault "github";