23 lines
324 B
Nix
23 lines
324 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 = {
|
|
users.users.root.shell = pkgs.zsh;
|
|
networking.hostName = cfg.hostName;
|
|
};
|
|
}
|