Created
June 25, 2021 18:36
-
-
Save superherointj/43cdfc9c0505fb145747ccd6f258af5a to your computer and use it in GitHub Desktop.
NixOS module example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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