1
1
Fork 0
nixos-configs/modules/beatific.nix

19 lines
282 B
Nix

{ config, lib, pkgs, ... }:
let
inherit (lib) mkOption types;
cfg = config.beatific;
in {
options = {
beatific.hostName = mkOption {
type = types.str;
description = "Hostname";
};
};
config = let
in {
networking.hostName = cfg.hostName;
};
}