/ modules / flake / toplevel.nix
toplevel.nix
 1  # Top-level flake glue to get our configuration working
 2  { inputs, ... }:
 3  
 4  {
 5    imports = [
 6      inputs.nixos-unified.flakeModules.default
 7      inputs.nixos-unified.flakeModules.autoWire
 8    ];
 9    perSystem = { self', pkgs, ... }: {
10      # For 'nix fmt'
11      formatter = pkgs.nixpkgs-fmt;
12  
13      # Enables 'nix run' to activate.
14      packages.default = self'.packages.activate;
15    };
16  }