Files
nixos-setup/modules/skyg/core.nix
T
2024-08-10 22:39:54 -04:00

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;
};
}