# This file is intended to be included in your system's `configuration.nix`. # Given a device name, it will import the appropriate device configuration, and # all the modules from Mobile NixOS. # # Assuming NIX_PATH contains `mobile-nixos`: # # ``` # { # imports = [ # (import { device = "xxx-yyy"; }) # ]; # } # ``` { device }: { imports = [ (import (../devices + "/${device}")) ] ++ import ../modules/module-list.nix; }