aboutsummaryrefslogtreecommitdiff
path: root/nixos/variables.nix
blob: fdf47b486ddf96696ecb08dbf765a732f1140a53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  config,
  pkgs,
  lib,
  ...
}: {
  # Type definitions for nix variables used in this configuration
  options = with lib;
  with types; {
    myUserName = mkOption {type = str;};
    myHostName = mkOption {type = str;};
  };

  # Default values for this configuration
  config = {
    myUserName = "stvnliu";
    myHostName = "homelab-nix";
  };
}