Last active
September 14, 2025 11:21
-
-
Save benjumanji/07c8fccdd842ddd759624fe5e7bb6790 to your computer and use it in GitHub Desktop.
abstract over hostnames / systems
This file contains hidden or 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
{ hostname }: | |
let | |
sources = import ./npins; | |
nixos = import (sources.nixpkgs + "/nixos"); | |
in | |
nixos { | |
configuration = { | |
imports = [ | |
./the-rest-of-the-owl.nix | |
]; | |
networking.hostName = hostname; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment