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

19 lines
282 B
Nix
Raw Normal View History

2023-08-02 01:59:06 +00:00
{ 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;
};
}