More streamlining of modules

This commit is contained in:
Greg Hellings
2024-02-09 14:38:11 -06:00
committed by greg-compass
parent 2107ca3e09
commit c228f8b72d
18 changed files with 101 additions and 99 deletions
+18
View File
@@ -0,0 +1,18 @@
{ config, lib, ... }:
let
cfg = config.greg.home;
in with lib;
{
options.greg.home = mkOption {
type = types.bool;
default = true;
description = "Sets the device up to be part of my home network";
};
config = mkIf cfg {
time.timeZone = "America/Chicago";
networking.domain = "thehellings.lan";
};
}