Files
nixos-setup/modules/skyg/core.nix
T
2024-08-18 20:59:51 -04:00

22 lines
285 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.skyg.core;
in
{
options = {
skyg.core = {
hostName = mkOption {
description = "Machine Hostname";
type = types.str;
};
};
};
config = {
networking.hostName = cfg.hostName;
};
}