quintessence/modules/machine.nix
2026-02-12 16:04:51 -08:00

14 lines
499 B
Nix

## Intended to route hostname and machine-specific settings
{ inputs, config, pkgs, variables, ... }:
{
imports =
[
# If you set up a machine-specific .nix file, the line below can route it from this folder
# ./${variables.hostname}.nix
# if map-impure for your hw config doesn't work, copy the below file into this folder, and point the path here
/etc/nixos/hardware-configuration.nix
];
system.nixos.label = "$HOSTNAME";
networking.hostName = "$HOSTNAME";
}