Skip to content

Instantly share code, notes, and snippets.

@superherointj
Created June 25, 2021 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save superherointj/43cdfc9c0505fb145747ccd6f258af5a to your computer and use it in GitHub Desktop.
Save superherointj/43cdfc9c0505fb145747ccd6f258af5a to your computer and use it in GitHub Desktop.
NixOS module example
# Example of what I call 'module' which has >10 levels to it.
{ config, pkgs, libs, lib, ... }:
let hostId = "2"; in
{
imports = [
(import ../../profiles/rockpro64 { inherit config pkgs libs lib hostId; })
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment